Your org is a town

Let's map it

OrgTown draws the map of your Salesforce org inside VS Code: every object, every field, and the code and automation that use them.

Every domainis a district

A Salesforce org grows one object, one Flow, one trigger at a time. After a few years it is a town nobody has a map of. OrgTown draws that map from the metadata in your project, so you can see where things are before you go looking.

One clicka whole app

Put a whole Salesforce app on the map

Quick Load App takes an app your org already has and brings its objects, their fields and validation rules, its tabs and the triggers bound to those objects onto the canvas in one go. Quick Load does the same for hand-picked objects, LWC, Apex classes, triggers and Flows.

Every objectis a building

One card holds the object's whole story

Each object lands as a card with its fields inside. Tabs along the bottom switch to the SOQL, LWC, Apex classes, triggers, Flows and validation rules that use it, all found in your own source.

Try Explore every tab in your browser

Everythinghas an address

See how each piece of code touches the data

Where OrgTown finds a query, a @wire, a DML statement or a Flow element, it tags it with an Interaction Badge: Create, Read, Filter, Bulk and more. Hover a badge to see exactly what it means.

Try Apex & Flow process types in your browser

Not the filethe exact line

Jump straight to the line in the source

Click any reference on a card and VS Code opens that exact line: the Apex statement, the SOQL query, the trigger or the Lightning component.

Try SOQL jump to source in your browser

Every relationis a street

Walk the relationships

Every Lookup and Master-Detail line ends in a small circle. Click it and the object on the other end appears next to the one you have. Show or hide a whole cluster of related objects from the card's menu.

Try Open by connector in your browser

Who pointsat this object

See what references this object

Reverse Relationships lists the objects that point into the current one, the direction a plain relationship line doesn't show. Load Related from Org asks the connected org for child relationships your local source doesn't have, such as objects from managed packages.

Try Reverse relationships in your browser

From sprawlto a plan

Arrange the town in one click

Drag cards by their header and OrgTown remembers where you put them. Auto-Arrange groups related objects together and moves unrelated ones into their own section. Undo and Redo step back and forth through your recent layout moves.

Read a formulaas a drawing

Validation rules as flowcharts

VR Blueprint parses a rule's formula and draws it from the event through conditions and AND / OR junctions to the outcome. True and False paths are colour-coded, so you can trace which branch fires without untangling brackets.

Read a Flowbranch by branch

Flows, every path drawn

Flow Blueprint draws a Flow's own structure: every Decision and Wait branch, loop, fault path and scheduled path as its own labelled connector. Click an element for its details.

Find anythingin a big town

Find any object and go there

Object Explorer lists every object OrgTown has scanned, with filters, show / hide and Go to, which centres the canvas on it. Get Over Here pulls an object that isn't on the canvas yet straight onto it.

Try Get Over Here in your browser

For anyone who opensan org they didn't build

Four stepsto your map

Install OrgTownFrom the Extensions panel in VS Code or the Marketplace. No account to create.
Open the workspaceClick the OrgTown icon in the Activity Bar, then Open Workspace. OrgTown scans your SFDX project and opens an empty canvas.
Connect an orgClick the org chip and sign in through the browser, the same way as sf org login web. Needed only for Quick Load, Load Related from Org and Jump to org.
Load something and map itUse Quick Load App for a whole app, or Quick Load for exactly the objects you want.

What you need

  • VS Code 1.106 or newer
  • Salesforce CLI (sf) v2 on your PATH
  • A Salesforce DX project (a folder with sfdx-project.json)

Browsing the canvas, exploring objects and every tab on a card work offline, straight from your local source.

Free

Everything you see on this page is in the free extension.

Install OrgTown

Questionsand answers

Updated

OrgTown today

What is OrgTown?

OrgTown is a free Visual Studio Code extension that draws an interactive map of a Salesforce org from the metadata in your Salesforce DX project. Each object becomes a card on a canvas, with its fields, relationships and the Apex classes, triggers, Flows, validation rules, SOQL queries and Lightning Web Components that use it.

The idea is simple: an org is a town that grows one object and one automation at a time, and OrgTown is its map.

Who is OrgTown for?

OrgTown is for Salesforce developers, consultants, architects and technical admins who need to understand an org they didn't build, or one that has grown too big to keep in their head. Typical moments: joining a project, the first day in a client's org, reviewing a data model, or checking what uses a field before changing it.

Is OrgTown free?

Yes. The current release of OrgTown (version 0.1.0) is free to install and use from the VS Code Marketplace, and you don't need an account. Everything shown on this page is part of the free extension.

Is OrgTown made by Salesforce?

No. OrgTown is an independent product and is not affiliated with or endorsed by Salesforce, Inc. It works with standard Salesforce DX projects and the official Salesforce CLI.

How is OrgTown different from Schema Builder?

Schema Builder in Salesforce Setup shows objects, fields and their relationships. OrgTown shows those too, and adds the code and automation around each object: the Apex, triggers, Flows, validation rules, SOQL and Lightning components that use it, found in your project's source. You can jump from any reference to the exact line in VS Code, and read validation rules and Flows as diagrams.

Using OrgTown

What do I need to run OrgTown?

You need Visual Studio Code 1.106 or newer, the Salesforce CLI (sf) version 2 on your PATH, and a Salesforce DX project, which is a folder with an sfdx-project.json file. A connected org is optional and only needed for features that read from the org.

How do I install OrgTown?

Install OrgTown from the Extensions panel in VS Code by searching for OrgTown, or from its VS Code Marketplace page. Then click the OrgTown icon in the Activity Bar and choose Open Workspace: OrgTown scans your project and opens an empty canvas.

Does OrgTown need a connection to my Salesforce org?

Not for exploring. Browsing the canvas, exploring objects and every tab on an object card work offline, straight from the metadata in your local project. A connected org is needed only for Quick Load, Load Related from Org and Jump to org. OrgTown connects through the same browser sign-in as sf org login web.

How do I find where a Salesforce object or field is used?

Put the object on the OrgTown canvas and open the tabs along the bottom of its card. They list the SOQL queries, Lightning Web Components, Apex classes, triggers, Flows and validation rules in your project that use the object and its fields. Click any reference to open that exact line of source in VS Code.

Can I see a whole Salesforce app at once?

Yes. Quick Load App takes an app that already exists in your org and puts its objects on the canvas in one step, together with their fields, validation rules, tabs and the triggers bound to those objects. Quick Load does the same for objects, LWC, Apex classes, triggers and Flows that you pick yourself. Both need a connected org.

What are Interaction Badges?

Interaction Badges are small tags that show how a piece of code or automation touches your data. Wherever OrgTown finds a query, a @wire, a DML statement or a Flow element, it marks it with a badge such as Create, Read, Filter or Bulk. Hover a badge to see exactly what it means.

Can OrgTown show validation rules and Flows as diagrams?

Yes. VR Blueprint parses a validation rule's formula and draws it as a flowchart from the event, through conditions and AND / OR junctions, to the outcome, with True and False paths colour-coded. Flow Blueprint draws a Flow's structure, with every Decision and Wait branch, loop, fault path and scheduled path as its own labelled connector.

How does OrgTown show relationships between objects?

Every Lookup and Master-Detail field is drawn as a line between object cards, ending in a small circle you can click to bring the related object onto the canvas. Reverse Relationships lists the objects that point into the current one. Auto-Arrange groups related objects together, and OrgTown remembers your layout.

Does OrgTown work with managed packages?

Partly. OrgTown maps what is in your local source. Load Related from Org asks the connected org for child relationships that your source doesn't have, such as objects that come from managed packages, and adds them to the map.

Your data

Where does my metadata go?

It stays on your machine. OrgTown runs inside VS Code, reads the metadata files of your project, and talks to your org only through your own Salesforce CLI sign-in. There is no OrgTown account and no OrgTown server that your metadata is sent to.

Does OrgTown change anything in my org?

No. Mapping, exploring, the object card tabs and the blueprints only read metadata. Nothing on this page deploys changes to your org.

What's next

What is OrgTown building next?

In development

The next big piece is a review layer for changes made by AI coding agents. When an agent edits Salesforce metadata, OrgTown will show those changes on the same map, with what they affect, before you merge them. It is in development and not part of the current release; it will appear on this page and in the changelog when it ships.

Will OrgTown work with AI coding agents like Claude Code or Cursor?

In development

That is the plan. We are building a local MCP (Model Context Protocol) server so that AI coding agents can read the context of your org from OrgTown and show their planned changes on the map for you to review. It is in development and not available in the current release.

Does OrgTown work in Cursor or other editors based on VS Code?

Planned

Today OrgTown is published on the Visual Studio Code Marketplace. Editors built on VS Code, such as Cursor and Windsurf, usually install extensions from the Open VSX registry; publishing OrgTown there is planned.

Will OrgTown stay free?

The current release is free. Paid plans are planned for advanced features aimed at consultants and teams, such as AI change review. Prices and what they include will be published on this site before any paid plan is available.

How do I follow updates or report a problem?

Every release is listed in the changelog on this site, and news is posted on the OrgTown LinkedIn page. To report a bug or ask for a feature, open an issue in the OrgTown issues repository on GitHub.

Talk toOrgTown

A question the FAQ didn't answer, a bug, an idea, or a pilot for your team. Leave an email or a phone number and we'll get back to you. If you tick a messenger, we'll write there first.

We use your details only to reply to this message.

Or talk to Serhii, the author of the OrgTown approach

Also reachable on this number

Email or phone: at least one, so we can reply.

Build the map of your org

Install free in VS Code