CodeDB

CodeDB

A code editor that treats your files as a database. Define relationships, run SQL queries, and visualize your codebase as an interactive graph.

Coming Soon on the Mac App Store Read the Docs

$9.99 · macOS 13.0+ · One-time purchase

Everything You Need to Understand Your Code

📝

Full Code Editor

Powered by Monaco (the engine behind VS Code). Syntax highlighting for 20+ languages, find and replace, multi-cursor, auto-indent, and more.

🔗

File Relationships

Define typed connections between files — imports, dependencies, tests, documentation. See how everything fits together at a glance.

🔍

SQL Query Console

Query your files, relations, tags, and properties with SQL. Visual query builder included for point-and-click exploration. Export results as JSON, CSV, or Mermaid.

📈

Interactive Graph

Visualize your file relationships as an interactive node-link diagram. Drag, zoom, and explore clusters and dependencies visually.

📌

Smart Views

Save SQL queries as sidebar shortcuts. One-click access to custom filtered views of your database — find orphan files, most-connected modules, files by language, and more.

📊

CSV & TSV Viewer

Built-in table viewer with virtual scrolling for large datasets. Handle 100,000+ rows smoothly. Toggle between table, raw text, and edit modes.

🏹

Impact Analysis

Trace downstream effects before making changes. See every file that could be affected, up to 20 levels deep through the dependency chain.

🏷

Tags & Properties

Tag files for organization, add custom key-value properties for structured metadata. Automatic inline tag extraction from your code.

📦

Bulk Import

Import individual files or entire directories. Supports files up to 50 MB, preserves folder structure, and auto-detects language from extensions.

How It Works

1

Add your files

Create new files directly or import existing code from files and folders. CodeDB stores everything in a local SQLite database on your Mac.

2

Define relationships

Connect files with typed relations like "imports", "depends_on", or "tests". Build a knowledge graph that captures how your code fits together.

3

Query and explore

Use the SQL console to ask questions about your codebase. Create Smart Views for the queries you run most. Visualize everything in the interactive graph.

4

Understand impact

Before making changes, run Impact Analysis to see every file that could be affected downstream. Make informed decisions with full visibility.

Built For

Codebase Documentation

Map out how files in a project relate to each other. Store notes, tags, and properties alongside the code.

Learning New Codebases

When you join a new project, use CodeDB to trace dependencies and understand architecture before diving in.

Data File Analysis

Import CSV and TSV datasets, view them as tables, and query the metadata with SQL.

Code Snippet Libraries

Organize reusable code snippets with tags, properties, and relationships for fast retrieval.

System Requirements

Your Code, Connected.

CodeDB is coming soon to the Mac App Store.

Get Notified