SQLite logo

SQLite

A software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine
14.8K
11.7K
+ 1
529

What is SQLite?

SQLite is an embedded SQL database engine. Unlike most other SQL databases, SQLite does not have a separate server process. SQLite reads and writes directly to ordinary disk files. A complete SQL database with multiple tables, indices, triggers, and views, is contained in a single disk file.
SQLite is a tool in the Databases category of a tech stack.

Who uses SQLite?

Companies
736 companies reportedly use SQLite in their tech stacks, including Accenture, Alibaba Travels, and Intuit.

Developers
13384 developers on StackShare have stated that they use SQLite.

SQLite Integrations

Slick, Amazon DynamoDB, Amazon Redshift, Sequelize, and Strapi are some of the popular tools that integrate with SQLite. Here's a list of all 96 tools that integrate with SQLite.
Pros of SQLite
161
Lightweight
135
Portable
121
Simple
80
Sql
28
Preinstalled on iOS and Android
2
Tcl integration
1
Free
1
Portable A database on my USB 'love it'
Decisions about SQLite

Here are some stack decisions, common use cases and reviews by companies and developers who chose SQLite in their tech stack.

Dimelo Waterson
Shared insights
on
PostgreSQLPostgreSQLMySQLMySQLSQLiteSQLite

I need to add a DBMS to my stack, but I don't know which. I'm tempted to learn SQLite since it would be useful to me with its focus on local access without concurrency. However, doing so feels like I would be defeating the purpose of trying to expand my skill set since it seems like most enterprise applications have the opposite requirements.

To be able to apply what I learn to more projects, what should I try to learn? MySQL? PostgreSQL? Something else? Is there a comfortable middle ground between high applicability and ease of use?

See more
Shared insights
on
SQLiteSQLite

How to secure my offline (most of the time) Desktop Application with an annual subscription (online)? Do I block decompiling jar, hack DateTime local system date, or encrypt SQLite database? Give advice on the best possible way to achieve this.

In windows, how do I handle patching attacks modifying the registry? Is it secure to use windows registry to store secrets like the 'date of expiring' of the subscription? So that I can check the same and pop up the user to recharge themself and activate for next 1 year.

See more
Shared insights
on
SQLiteSQLiteIndexedDBIndexedDB

We hope to develop to Big PWA Hybrid application for our company (Which should include a good performance). For that, What is the best database out of IndexedDB and SQLite? What would be the best one to choose from?

See more

Hi all. I want to rewrite my system. I was a complete newbie 4 years ago and have developed a comprehensive business / finance web application that has been running successfully for 3 years (I am a business person and not a developer primarily although it seems I have become a developer). Front-end is written in native PHP (no framework) and jQuery with backend and where many processes run in MySQL. Hosted on Linux and also sends emails with attachments etc. The system logic is great and the business has grown and the system is creaking and needs to be modernised. I feel I would stick with MySql as DB and update / use Django / Spring or Laravel (because its php which I understand). To me, PHP feels old fashioned. I don't mind learning new things and also I want to set the system up that it can be easily migrated to Android/iOS app with SQLite. I would probably employ an experienced developer while also doing some myself. Please provide advice -- from my research it seems Spring/Java is the way to go ... not sure. Thanks

See more

SQLite Alternatives & Comparisons

What are some alternatives to SQLite?
MySQL
The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
PostgreSQL
PostgreSQL is an advanced object-relational database management system that supports an extended subset of the SQL standard, including transactions, foreign keys, subqueries, triggers, user-defined types and functions.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
LiteDB
Embedded NoSQL database for .NET. An open source MongoDB-like database with zero configuration - mobile ready
Firebase
Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
See all alternatives

SQLite's Followers
11736 developers follow SQLite to keep up with related blogs and decisions.