๐Ÿ—„๏ธ

SQLite

SQLite is an embedded relational (SQL) database that runs as a single file with no separate server process at all โ€” created by D. Richard Hipp and maintained by the SQLite Consortium. It's the third most-used database in developer surveys, at roughly 37.5% usage share. It ships inside nearly every mobile app, web browser, and desktop app that needs local storage, because it requires zero configuration and zero administration.

Quick facts
Type: Embedded relational (SQL), no server
Made by: D. Richard Hipp / the SQLite Consortium
License: Free / public domain
Hosting: Embedded โ€” a single local file, no separate server process
Primary use case: Local storage inside mobile apps, browsers, desktop apps, and small/simple projects
Jump to: ExampleGetting startedBest for

Example

Standard SQL against a database that's just a file on disk โ€” no server, no port, no daemon to manage.

CREATE TABLE notes (
  id INTEGER PRIMARY KEY,
  title TEXT NOT NULL,
  body TEXT
);

INSERT INTO notes (title, body)
VALUES ('Shopping list', 'milk, eggs, bread');

SELECT title
FROM notes
WHERE body LIKE '%milk%';

Getting started

No server to install โ€” just the CLI tool (or a library binding in your language of choice) pointed at a local file.

# open (or create) a local database file
sqlite3 app.db

-- inside the sqlite3 shell
.tables
SELECT * FROM notes;
Best for: Mobile and desktop apps that need reliable local storage with zero setup, small websites/prototypes, and any project where running a separate database server would be overkill.