whatisgithub

What is sqliteer?

stewartlynch/sqliteer — explained in plain English

Analysis updated 2026-05-18

18SwiftAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

SQLiteER is a native Mac app that turns any SQLite database file into a visual entity relationship diagram you can rearrange and export as PNG or PDF.

Mindmap

mindmap
  root((SQLiteER))
    What it does
      Reads SQLite files
      Draws ER diagrams
      Detects relationships
    Tech stack
      Swift
      SwiftUI
      SQLite
    Use cases
      Visualize schema
      Export diagrams
    Audience
      Mac developers
      iOS developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Drag a SQLite database file onto the app to instantly see its table structure as a diagram.

USE CASE 2

Understand hidden Core Data or SwiftData naming conventions translated into readable table names.

USE CASE 3

Rearrange, zoom, and export a database diagram as a PNG or PDF for documentation.

USE CASE 4

Detect table relationships even when foreign keys were never explicitly declared.

What is it built with?

SwiftSwiftUISQLite

How does it compare?

stewartlynch/sqliteerpolamgh/azaditunnelsam-siavoshian/agent-notch
Stars181818
LanguageSwiftSwiftSwift
Setup difficultyeasyhardhard
Complexity2/54/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires macOS 15 or later, pre-built installers are available so building from source is optional.

All rights reserved, the author has not granted any open source usage rights beyond viewing the source.

So what is it?

SQLiteER is a native Mac application that reads any SQLite database file and draws a visual diagram showing all the tables and how they connect to each other. SQLite is a common file-based database format used by many Mac and iOS apps to store structured data. An entity-relationship diagram (the ER in the name) is a map of that structure: each table appears as a labeled box, and lines between boxes show which tables reference each other. To use it, you drag a database file onto the app window. SQLiteER reads the file's structure automatically, lays out every table as a card, and draws the connections between them using a standard notation called crow's foot, where the shape at each end of a line tells you whether a record in one table can link to one or many records in another. You can then drag the cards around to arrange the diagram however you like, zoom in or out, and export the result as a PNG image or PDF. The app understands three Apple-specific database formats beyond plain SQLite: Core Data, SwiftData, and SQLiteData stores. These formats use internal naming conventions that are confusing to look at directly. SQLiteER translates them back into clean, readable names so the diagram reflects the app's original design rather than the raw storage format. Relationships between tables are detected in three ways: from foreign keys that are explicitly declared in the schema, from column naming patterns that suggest a connection even without a declared key, and from the internal tables that Core Data uses to record relationships between records. The app requires macOS 15 or later and is built entirely with Apple's SwiftUI and the built-in SQLite library, with no third-party dependencies. Source code is included for those who want to build it themselves in Xcode. Pre-built installer files are also available on the releases page. The project is all rights reserved by the author.

Copy-paste prompts

Prompt 1
Explain how SQLiteER detects relationships between tables that do not have declared foreign keys.
Prompt 2
Show me how crow's foot notation in this app's diagrams indicates one to many relationships.
Prompt 3
Walk me through building SQLiteER from source in Xcode.
Prompt 4
Help me understand the difference between how SQLiteER handles Core Data versus plain SQLite files.

Frequently asked questions

What is sqliteer?

SQLiteER is a native Mac app that turns any SQLite database file into a visual entity relationship diagram you can rearrange and export as PNG or PDF.

What language is sqliteer written in?

Mainly Swift. The stack also includes Swift, SwiftUI, SQLite.

What license does sqliteer use?

All rights reserved, the author has not granted any open source usage rights beyond viewing the source.

How hard is sqliteer to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is sqliteer for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.