Back to services

Datasette

Explore and publish data with easy import and export and database management.

View alternatives to Datasette
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

Datasette is an open-source tool started by Simon Willison for exploring and publishing data. It reads SQLite database files and automatically generates a web interface where users can browse tables, filter and sort data, and run SQL queries. It also provides a JSON API for that data.

Note: When this entry was written, the official website could not be fetched successfully. The content below is compiled from publicly known information about the project. Please refer to the official website https://datasette.io/ for specific details.

Key Features

  • Data browsing: Displays the tables and views in a SQLite database as web tables, with support for faceted filtering (facets), sorting, pagination and full-text search.
  • SQL queries: Lets you write read-only SQL queries directly in the browser and share the results via URL.
  • JSON / CSV output: Every page can be exported as JSON or CSV, making it easy for other programs to consume.
  • Plugin ecosystem: Plugins extend functionality such as visualizations (maps, charts), authentication and data editing.
  • One-step publishing: Use the datasette publish command to deploy a database to cloud platforms such as Google Cloud Run, Vercel and Fly.io.
  • Companion tools: Tools such as sqlite-utils can import data like CSV and JSON into SQLite, which Datasette can then display.

Target Users and Use Cases

Suitable for data journalists, researchers, data analysts, developers, and governments or organizations that need to publish datasets. Common uses include publishing open data, sharing the data behind investigative reporting, building a searchable archive of personal data, and quickly creating a viewing interface for an existing SQLite database.

Core Strengths

  • Lightweight to deploy: all you need to run it is a single SQLite file
  • Read-only by default, which makes it safe for publishing data publicly
  • Provides both a web interface and an API, requiring almost no additional development
  • Flexible plugin system with many community plugins

Installation and Deployment

Built with Python. Common ways to install it include:

pip install datasette
# or
pipx install datasette
# on macOS you can also use
brew install datasette

After installing, run:

datasette mydatabase.db

Then open the local address in your browser.

Technical Requirements

  • Requires a Python 3 environment
  • Data is stored in SQLite format

Notable Points

  • Open source under the Apache 2.0 license
  • Datasette Lite, based on WebAssembly (Pyodide), can run entirely in the browser
  • A hosted service, Datasette Cloud, is also offered officially