Weftmap
Open source · Multi-language

Understand any code at a glance.

Paste code and get an interactive call graph. Multi-language via Tree-sitter.

Supports:PythonJavaScriptTypeScriptGoRustSQL
02

How it works

  1. 01

    Paste your code

    Pick a language and drop in a snippet — no setup, no upload.

  2. 02

    Tree-sitter parses it

    A real syntax tree is built on the server, fast and language-agnostic.

  3. 03

    Explore the call graph

    Pan, zoom and follow how functions call each other.

03

Built to read code

Multi-language

One parsing engine, many languages. Powered by Tree-sitter.

PythonJavaScriptTypeScriptGoRustSQL

+More languages coming soon

Interactive diagrams

Pan, zoom and explore the call graph of your code.

Pluggable

Add a new language in just a few lines. Built to extend.

Accurate parsing

Real syntax trees via Tree-sitter, not fragile regex.

No setup

Paste a snippet and visualize. Nothing to install.

Open source

Free, MIT-licensed, and community-driven.

04

See it in action

Call graph

Functions become nodes and calls become arrows — traced across files.

posts
PKidint
FKauthor_idint
1:N
users
PKidint
emailtext

SQL schema

Tables become entities and foreign keys become relationships with cardinality.

05

Languages

Six today — five produce a call graph, SQL produces an ER diagram.

06

Where it helps

01

Onboard to a new codebase

Get the lay of the land before reading line by line.

02

Review changes faster

See how a function connects before approving a PR.

03

Teach and document

Turn code into a diagram for explanations and docs.

04

Explore unfamiliar code

Drop in a snippet or file and trace the flow.

07

FAQ

Does my code leave my machine?

It's sent to the server to be parsed with Tree-sitter, then discarded — nothing is stored.

Is there a size limit?

Up to 2 MB and 400 files per analysis.

Which languages are supported?

Python, JavaScript, TypeScript, Go, Rust and SQL — with more on the way.

Is it free and open source?

Yes, MIT-licensed. Contributions — especially new languages — are welcome.

08

What people say

Experiences from people using Weftmap.

Sign in to share your experience.

Be the first to share your experience.

Map your code now

Paste a snippet and get an interactive diagram in seconds.

Get started
Open source · MIT

Built to be extended. Star it or pick up a good first issue.