12 best JavaScript SQL Database libraries in 2025
by marketing.admin@openweaver.com Updated: Feb 11, 2023
Guide Kit
JavaScript is an object-oriented programming language that can be used to create applications that run in web browsers, on servers, and in a variety of other environments. A JavaScript library that allows to work with data structures in the same way you work with objects in JavaScript while providing access to relational databases like MySQL, PostgreSQL or SQL Server using NodeJs or the browser. A JavaScript SQL database library is a JavaScript library for creating and managing databases. A JavaScript SQL database is a database that uses SQL to store, retrieve and manipulate data. These are free to use, open source and have no cost. Popular JavaScript SQL Database open source libraries include: lovefield - relational database for web apps; alasql - AlaSQL.js - JavaScript SQL database for browser and Node.js. Handles both traditional relational tab; cordova-sqlite-storage - PhoneGap plugin to open and use sqlite databases.
lovefieldby google
Lovefield is a relational database for web apps. Written in JavaScript, works cross-browser. Provides SQL-like APIs that are fast, safe, and easy to use.
lovefieldby google
JavaScript
6615
Version:Current
License: Permissive (Apache-2.0)
alasqlby AlaSQL
AlaSQL.js - JavaScript SQL database for browser and Node.js. Handles both traditional relational tables and nested JSON data (NoSQL). Export, store, and import data from localStorage, IndexedDB, or Excel.
alasqlby AlaSQL
JavaScript
6608
Version:v4.0.4
License: Permissive (MIT)
cordova-sqlite-storageby storesafe
A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API
cordova-sqlite-storageby storesafe
JavaScript
2130
Version:Current
License: Others (Non-SPDX)
rails_dbby igorkasyanchuk
Rails Database Viewer and SQL Query Runner
rails_dbby igorkasyanchuk
JavaScript
1441
Version:Current
License: Permissive (MIT)
sql-to-graphqlby rexxars
Generate a GraphQL API based on your SQL database structure
sql-to-graphqlby rexxars
JavaScript
563
Version:Current
License: Permissive (MIT)
tuqlby bradleyboy
Automatically create a GraphQL server from a SQLite database or a SQL file
tuqlby bradleyboy
JavaScript
978
Version:Current
License: Permissive (MIT)
sqlectron-termby sqlectron
A simple and lightweight SQL client terminal-based interface with cross database and platform support
sqlectron-termby sqlectron
JavaScript
501
Version:Current
License: Permissive (MIT)
ydn-dbby yathit
Javascript database module for Indexeddb, Web SQL and localStorage storage mechanisms supporting version migration, advanced query, SQL and transaction.
ydn-dbby yathit
JavaScript
488
Version:Current
License: Permissive (Apache-2.0)
DatabaseStackby unruledboy
database technology stack, including MS SQL Server, Azure etc.
DatabaseStackby unruledboy
JavaScript
312
Version:Current
License: Permissive (Apache-2.0)
reasondbby anywhichway
A 100% JavaScript object database: SQL like syntax, full-text search, auto object sync, swapable persistence engines, asynchronous cursors, 30+ built-in plus in-line fat arrow predicates, predicate extensibility,joins, nested matching.
reasondbby anywhichway
JavaScript
262
Version:Current
License: Others (Non-SPDX)
arcadedbby ArcadeData
ArcadeDB Multi-Model Database, one DBMS that supports SQL, Cypher, Gremlin, HTTP/JSON, MongoDB and Redis. ArcadeDB is a conceptual fork of OrientDB, the first Multi-Model DBMS.
arcadedbby ArcadeData
Java
328
Version:23.5.1
License: Permissive (Apache-2.0)
dbdiffby gimenete
Compares two postgresql or mysql databases and prints SQL commands to modify the first one in order to match the second one
dbdiffby gimenete
JavaScript
107
Version:Current
License: Permissive (MIT)