Skip to content
S

Sqlocal

SQLocal makes it easy to run SQLite3 in the browser

by DallasHoffFree

#2203in Utilities
0In stores

Description

SQLocal is a JavaScript library for running SQLite3 inside the browser, with data stored in the origin private file system (OPFS). It is mea…

Highlights

  • Runs any SQLite3 query in the browser
  • Engine runs in a web worker off the main thread
  • Data persisted to the origin private file system
  • Reactive query subscriptions that work across tabs
  • Works with Kysely and Drizzle ORM, with a Vite plugin

Ratings & Reviews

No ratings yet

Be the first to rate Sqlocal.

People also visit

S

syncular

Offline-first SQL sync with Typescript and Rust cores

Developer Tools
Launch
S

Sqlite Web

Web-based SQLite database browser written in Python

Developer Tools
Launch
S

Sqlite Sync

CRDT-based offline-first sync for SQLite

AI
Launch
E

EZQL

Create, store, and edit SQL queries, access data from databases

Developer Tools
Launch
A

Air SQLite Manager

Manage your SQLite databases with ease

Utilities
Launch
D

DB Browser for SQLite

Official home of the DB Browser for SQLite

Design
Launch

Sqlocal FAQ

What is SQLocal?

A library that runs SQLite3 in the browser and stores the database in the origin private file system, so web apps can keep a full SQL database on the user's device.

Will queries slow down my UI?

SQLocal runs the SQLite engine in a web worker, so queries do not block the main thread.

Can I use it with an ORM?

Yes. It works with Kysely and Drizzle ORM for type-safe queries, and has TypeScript support.

Can my UI react to data changes?

Yes. You can subscribe to query results and receive changes, including changes made in other tabs.

What is the license?

SQLocal is released under the MIT License, with the source on GitHub.

What are the best Sqlocal alternatives?

Popular alternatives to Sqlocal include Air SQLite Manager and SQLite. See all Sqlocal alternatives

Developer Stuff

Badges