Skip to content
sozocodePublic

About

No description, website, or topics provided.

Resources

Stars

15 stars

Watchers

2 watching

Forks

Repository files navigation

VisuaLeaf logo

VisuaLeaf — Visual Database GUI for MongoDB & SQL

Build queries visually. Draw ER diagrams. Design aggregation pipelines. Chart your results. One workspace for MongoDB, PostgreSQL, MySQL, SQLite and 30+ more databases.

A modern database client for macOS, Windows, and Linux. Explore, query, and understand your data, whether it lives in documents, tables, or keys, without memorizing syntax.

Website • Download • Documentation • Features • Databases • Pricing

Platform: macOS, Windows, Linux MongoDB: Atlas and self-hosted SQL: PostgreSQL, MySQL, SQL Server, SQLite 36 supported databases License

English • 简体中文 • 繁體中文 • 日本語 • 한국어 • Español • Português (Brasil) • Deutsch • Français • Русский • हिन्दी


What is VisuaLeaf?

VisuaLeaf is a visual database workspace for developers, DBAs, and data teams. It started as a MongoDB GUI and now works just as well as a SQL client: connect to MongoDB, PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite, ClickHouse, Redis and more, and use the same visual workflow on every one of them.

Build a query by pointing and clicking, draw an ER diagram from your foreign keys or from what MongoDB actually stores, edit tables and documents inline, profile slow queries, move data between databases, build dashboards, and let AI draft queries against your real schema. Everything runs locally and connects directly to your databases.

VisuaLeaf visual SQL query builder joining MySQL tables with a live results grid

Why teams choose VisuaLeaf

  • One app for MongoDB and SQL: 36 databases, document, relational, key-value and analytics, in one workspace.
  • All SQL features are free in the Community Edition.
  • Visual query builders for both worlds: SQL with JOINs suggested from foreign keys, MongoDB filters with AND/OR groups.
  • ER diagrams and schema visualization: generated from SQL foreign keys or inferred from MongoDB collections, and you can materialize a design into real tables or collections.
  • SQL editor and MongoDB shell: syntax highlighting, autocomplete, history, and results as a grid, tree, or JSON.
  • Drag-and-drop aggregation pipeline designer with a preview at every stage.
  • AI assistant that writes queries, aggregations and charts from plain English and explains query plans.
  • Built-in MCP server: connect Claude, Cursor and other AI tools to your databases.
  • Fast on real data: 50,000 documents open in seconds, and documents at MongoDB's 16 MB limit are handled comfortably.
  • Your data stays local: direct connections, no proxy, no telemetry on your queries.

Supported Databases

Category Databases
Document & key-value MongoDB, Azure Cosmos DB, Amazon DocumentDB, Redis
PostgreSQL & compatible PostgreSQL, Neon, Supabase, TimescaleDB, Citus, Azure Database for PostgreSQL, Amazon RDS for PostgreSQL, Amazon Aurora PostgreSQL, CockroachDB, YugabyteDB
MySQL & compatible MySQL, MariaDB, Percona Server, TiDB, Amazon RDS for MySQL, Amazon Aurora MySQL
Enterprise SQL Microsoft SQL Server, Azure SQL Database, Oracle, IBM Db2, Firebird
Analytics, warehouse & streaming ClickHouse, Amazon Redshift, Snowflake, CrateDB, QuestDB, RisingWave, Materialize
File-based & embedded SQLite, DuckDB, H2, HSQLDB, Apache Derby

See all supported databases →


Features for MongoDB and SQL

These tools work the same way whether you're connected to MongoDB or a SQL database.

Connection Manager

Keep MongoDB, PostgreSQL, MySQL, SQL Server, SQLite and other connections in one place. Save connection profiles, group them by project or environment, and switch between databases instantly, with SSH tunneling and SSL for remote and cloud instances.

VisuaLeaf Connection Manager with a project tree of environments and connections

Explore the Connection Manager →


Visual Query Builder

Build queries without writing syntax. For SQL, drop tables on the canvas and VisuaLeaf suggests JOINs from your foreign keys while it writes the SQL in a live preview. For MongoDB, assemble find() filters with field selectors, operator dropdowns, and AND/OR groups. Drop into raw syntax whenever you want control back.

Visual MongoDB query builder with filter groups and results

Explore the Visual Query Builder →


ER Diagrams & Visual Schema

Generate ER diagrams from SQL foreign keys, or from what MongoDB actually stores in each collection, with field types inferred automatically. It works the other way too: design a schema on the canvas, hit Materialize, and the tables or collections are created for you.

ER diagram generated from MySQL foreign keys

MongoDB schema diagram showing collections and relationships

Explore ER Diagrams & Visual Schema →


SQL Editor & MongoDB Shell

Run SQL scripts or mongosh commands with syntax highlighting, autocomplete, and command history, then view the results as an editable grid, a tree, or JSON. Save scripts, run them again later, and keep every result readable.

PostgreSQL SQL editor with results grid next to table management

MongoDB shell with visual output in table, tree, and JSON

Explore the SQL Editor & MongoDB Shell →


Table Management

Create and alter SQL tables visually. Edit columns, types, defaults and nullability, manage primary and foreign keys, indexes, constraints, triggers and partitions, and check the generated DDL before you apply it. Views, sequences, procedures and users are managed from the same workspace.

Table management for a PostgreSQL table showing columns, foreign keys, and indexes

Read the Table Management docs →


Query Profiler

A query that's quick on ten thousand rows can crawl on ten million. The profiler shows which queries are costing you and why, with execution plans, timing metrics, index usage, and suggestions for the index that would fix it.

Query Profiler with an execution-time timeline and queries grouped by shape

Explore the Query Profiler →


Charts & Dashboards

Chart the results of a SQL query or a MongoDB aggregation with 20+ chart types, then pin them to dashboards. No separate BI tool required.

Dashboard of store sales with line, donut, pie, heatmap, funnel and radar charts

Explore Charts & Dashboards →


Task Manager (Import, Export, Migration)

Run imports, exports, and migrations between MongoDB, SQL databases, and files (JSON, CSV, SQL, mongodump), and keep working while they run. Remap and transform fields, mask sensitive data, schedule and chain jobs, and review the full history of what each task did.

Data Transfer with tasks in folders on the left and the selected task's details on the right

Explore the Task Manager →


Split Panel Views

Open collections, tables, queries, ER diagrams and dashboards side by side. Split horizontally or vertically, drag tabs to reorganize, and keep scrolling in sync so you can compare results across databases or environments.

Split panel views comparing queries and data side by side

Explore Split Panel Views →


AI Assistant & MCP Server

Describe what you want and the assistant writes the query against your real schema. It drafts aggregations, turns results into charts, generates ER diagrams, reviews how your data is structured, and explains query plans in plain English instead of nested JSON. With the built-in MCP server, you can also connect Claude, Cursor, and other AI tools directly to your databases.

AI assistant generating database queries from natural language

Explore the AI Assistant →


MongoDB Features

The tools VisuaLeaf was built on, for MongoDB, Atlas, Cosmos DB and DocumentDB.

Browse Collections

Explore documents three ways: tree view for nested data, table view for fast scanning, and BSON view for raw type fidelity. Filter, sort, and edit inline, then drill into nested arrays and subdocuments without losing context.

Browse MongoDB collections in tree, table, and BSON views

Explore Browse Collections →


Aggregation Pipeline Builder

Design MongoDB aggregation pipelines with a drag-and-drop stage palette. Add $match, $group, $lookup, $project, $unwind, and more, preview the transformed data at each stage, and switch between visual and code modes.

MongoDB aggregation pipeline builder with stage-by-stage previews

Explore the Aggregation Pipeline Builder →


SQL Mode for MongoDB

Query MongoDB collections with familiar SQL. VisuaLeaf translates SELECT, WHERE, GROUP BY, and JOIN into the find() query or aggregation pipeline it becomes, so you can see exactly what runs.

SQL mode for MongoDB, writing SQL against MongoDB collections

Explore SQL Mode →


JSON Schema Validation

Design and enforce MongoDB JSON Schema validation with a tree-based editor. Full BSON type support, validation rules, and one-click verification against live collections.

Schema Builder showing a validator with required fields, BSON types and rules

Explore JSON Schema Validation →


Index Manager

Create, view, and manage MongoDB indexes visually: single-field, compound, text, TTL, unique, and partial. Review index size and usage stats, spot missing or redundant indexes, and drop or rebuild them safely.

MongoDB index manager with size and usage stats

Explore the Index Manager →


Collection Compare

Compare MongoDB collections side by side to spot structural or data differences. Audit changes after a deploy and keep dev, staging, and production aligned.

Data Compare canvas pairing collections and tables in a source and a target database

Explore Collection Compare →


MongoSync

Sync, copy, and migrate data between MongoDB databases, collections, and environments. Move a local collection to Atlas, run filtered or scheduled sync jobs, keep data in sync in real time with change streams, and preview everything with a dry run before it's written.

MongoSync syncing MongoDB data between databases and environments

Explore MongoSync →


GridFS Viewer

Browse, upload, download, and preview files stored in MongoDB GridFS, with drag-and-drop uploads, progress tracking, and inline previews for images, PDFs, and documents.

MongoDB GridFS viewer with file previews

Explore the GridFS Viewer →


RBAC Dashboard

Manage users, roles, and permissions visually. Review who has access to which database and collection, audit privileges, and keep team access tidy without hand-editing role documents.

Users and Roles dashboard with user, role and session counts and quick actions

Explore the RBAC Dashboard →


Replica Sets & Sharded Clusters

See replica set topology, health and the oplog, run rolling maintenance and reconfigs, take replica-set-aware backups, and manage sharded clusters from the same app.


Redis

Scan the keyspace by pattern, open each value type in the editor that fits it, filter values, work in the built-in Redis CLI, and test ACL rules.

VisuaLeaf Redis key browser

Explore VisuaLeaf for Redis →


Security & Privacy

Your data stays local. VisuaLeaf connects directly from your machine to your databases. We never see, store, or proxy your data.

  • Direct connections: localhost, MongoDB Atlas, managed cloud databases, or any self-hosted server
  • SSH tunneling and SSL: secure connections through bastion hosts and to cloud instances
  • Offline-capable: works fully offline after activation
  • Local credential storage: connection details encrypted on your machine
  • No query telemetry: we don't track what you query or what data you access

Supported Platforms

Platform Architecture Download
macOS Intel & Apple Silicon Download
Windows x64 Download
Linux x64, AppImage, deb Download

Works with MongoDB 4.x–8.x (Atlas, replica sets, and sharded clusters), PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite, Redis, and 30+ more databases.


Getting Started

  1. Download VisuaLeaf from visualeaf.com/download
  2. Install it on macOS, Windows, or Linux
  3. Connect to MongoDB, PostgreSQL, MySQL, SQLite, or any other supported database
  4. Explore your data with visual tools

Pricing

Plan Price Description
Community Free All SQL features, up to 3 saved MongoDB connections, shell, browsing, index management, ER diagrams
Basic $79 one-time + 1 year of updates Visual query and aggregation builders, Redis, query profiler, import/export tasks, data masking, AI assistant
Professional $149 one-time + 1 year of updates Everything in Basic plus unlimited tasks, collection compare, MongoSync, RBAC, charts & dashboards, MCP server, priority support

Every license is perpetual. Start with a 14-day free trial of Professional features, no credit card required.

View full pricing →


Documentation


Connect With Us


Related Projects

  • MiniLeaf: Open-source MongoDB viewer (lightweight, read-only)

Made with care by SozoCode

About

No description, website, or topics provided.

Resources

Stars

15 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors