Getting Started with SchemaCrawler
SchemaCrawler Installation
Pre-requisites for Installation
- Install the latest version of Java
- Optionally, install Graphviz if you want to create schema diagrams
Cross-platform Installation
There are multiple ways to download, install and use SchemaCrawler.
Getting Started
Choose a path
Before downloading SchemaCrawler, read the FAQs and browse the resources.
Explore or visualize
Start with schema search or database diagrams. Read How to explore a new database, Explore Your Database Schema with SchemaCrawler, or follow a dbdiagram.io or Mermaid diagram tutorial.
For a quick database-specific example, see how to visualize MySQL, PostgreSQL, or SQLite with one command.
Document
Compare output formats and serialization, or generate navigable Markdown with SchemaCrawler Scribe and the Scribe and Google OKF tutorial. For a scripting-based walkthrough, see Automatically Document Your Database in Markdown.
Analyze
Use graph metrics and table importance to prioritize tables, or lint your schema for design issues. See how to rank tables by importance or lint with GitHub Actions.
Use AI assistance
Connect an AI client with the SchemaCrawler AI MCP Server and its usage guide.
Explore the Command-Line
Explore the SchemaCrawler command-line with a live online tutorial. The tutorial works from within any browser with no software or plugins needed.
If you want to experiment locally, look at the examples.
Connecting To Your Database
Read information about database support carefully to understand how to connect to your database.
How-tos
Once you start getting comfortable with SchemaCrawler, and need to know more about how to do things, read the how-tos section.
Advanced Topics
Configuration
SchemaCrawler offers rich configuration options. Read about them on the SchemaCrawler Configuration page.
SchemaCrawler Docker Image
You can use the official SchemaCrawler Docker image from Docker Hub to reduce some of your installation steps. It comes with Graphviz pre-installed, so you can generate schema diagrams. For more information, see information on the Docker image.
Building From Source Code
To use SchemaCrawler in your development projects, or to build SchemaCrawler from the source code, read about building.