Skip to main content
SFDC Developers

Schema ERD Viewer

Visualize your Salesforce org's data model as an interactive entity relationship diagram. Connect your org, select objects, and instantly see fields, relationships, and cardinality — all rendered locally in your browser with no data sent to our servers.

Connect Your Salesforce Org

Connect to your org via OAuth to fetch object metadata. Only API-scope access is requested — no data is modified or stored.

Frequently Asked Questions

What is an ERD in Salesforce?

An Entity Relationship Diagram (ERD) is a visual map of your Salesforce data model. It shows objects as boxes, fields as rows within those boxes, and lines connecting objects through Lookup and Master-Detail relationships. ERDs are essential for understanding data architecture, planning integrations, onboarding new team members, and documenting your org for audits or migrations.

How is this different from Salesforce Schema Builder?

Salesforce's built-in Schema Builder requires Setup access, loads all objects at once (making it slow for large orgs), and cannot export or share diagrams. This tool lets you focus on 2-20 specific objects, export as PNG, SVG, or PDF, share via URL, switch between six color themes, and filter fields by type, requirement, or custom status — all without needing Setup access.

What's the difference between Lookup and Master-Detail relationships?

A Lookup relationship is a loose link between two objects — the child record can exist without a parent (the field is optional). A Master-Detail relationship is a tight bond — the child cannot exist without the parent, inherits sharing rules, and is deleted when the parent is deleted. In the ERD, Master-Detail lines appear thicker with a diamond marker, while Lookup lines use a simple dot.

How do I export my Salesforce data model?

Connect your org, select the objects you want to document, and click Build Diagram. Once the diagram renders, use the Export button in the toolbar to download as PNG (for presentations), SVG (for scalable documentation), or PDF (for formal architecture reviews). You can also copy the diagram directly to your clipboard for pasting into Slack, Confluence, or Google Docs.

Is my org data safe?

Yes. This tool only fetches object metadata — field names, types, and relationships. No record data (accounts, contacts, opportunities, etc.) is ever accessed. All diagram rendering happens entirely in your browser. No metadata is sent to or stored on our servers. Your OAuth token is stored in session storage and cleared when you close the tab.

How many objects can I include in one diagram?

You can include up to 20 objects per diagram. This limit keeps the diagram readable and ensures responsive performance in the browser. For large orgs, start with a core business object (like Account or Opportunity) and add its directly related objects. Use the Auto Layout feature to organize them hierarchically.

Can I share my diagram with someone who isn't connected to the org?

The Share button copies a URL that encodes your selected objects, layout positions, and display settings. When someone opens this link, they'll see which objects you selected and your layout — but they'll need to connect their own org to load the actual field metadata. For sharing without org access, export as PNG or PDF and send the file directly.

Related Salesforce Developer Tools

  • SOQL Query Builder

    Build SOQL queries visually after exploring your schema — select objects, pick fields, add filters, and copy the query.

  • Apex Debug Log Analyzer

    Parse and visualize Apex debug logs to understand governor limit consumption and execution flow.

Trending Now