Convert SQLite to SQL
Convert SQLite to SQL right in your browser. Your file is not uploaded to a server.
How to use it
- Drag your .db .sqlite .sqlite3 .db3 files onto the area above, or press "Choose files".
- If options are shown, set them as you like. They appear below the file list.
- Press "Convert". The conversion runs on your device, shows its progress and can be cancelled at any time.
- Press "Download" next to a result. With several results, "Download all as ZIP" gets them in one go.
- The first time, the page downloads the conversion program (about 0.3 MB). It is kept on your device, so later visits do not download it again. Your files are not sent during this step either.
The formats involved
SQLite .db .sqlite .sqlite3 .db3
An SQLite database is a database stored in a single file. The file starts with the string "SQLite format 3" followed by a NUL character (SQLite Database File Format).
SQL .sql
SQL is the language for writing statements sent to a database. An SQL file is a text file containing those statements.
Limits and things to watch for
- On a phone, large files can be slow or fail because of memory limits.
- The file size that can be processed depends on your device. The limit for your device is shown in the drop area, and files above it are refused with a message.
- The database is built in the browser memory, so a very large input may not be processed on a phone.
FAQ
Is my file uploaded to a server?
No. Conversion happens only inside this browser, and file names, contents and results are not sent to our servers. Some converters download their conversion program (code) the first time you use them; your files are not sent then either. See the privacy page for details.
Can I convert many files at once?
Yes. Select several files and they are processed one after another; save the results one by one or all at once as a ZIP. How much can be handled at once depends on your device memory and is shown on the page.
Licences and the software used
Programs this converter downloads and uses: sql.js 1.15.2 (MIT) · Open-source licenses
Sources and check date
- SQLite Database File Format
header string "SQLite format 3" + NUL · 2026-11-10 - SQLite Core SQL Functions
quote(X): the SQL literal of X · 2026-11-10 - sql.js 1.15.2
SQLite compiled to WebAssembly (MIT) · 2026-11-10 - QOI specification 1.0 (qoiformat.org)
14-byte header (magic qoif, big-endian width/height, channels 3|4, colorspace 0|1), 8-byte end marker, un-premultiplied alpha · 2026-11-10 - Netpbm: PPM format specification
Magic numbers P3 (plain) / P6 (raw); Maxval below 65536; 2 bytes per sample when Maxval >= 256 · 2026-11-10 - Microsoft Learn: Bitmap Header Types
BITMAPINFOHEADER / BITMAPV4HEADER; RedMask/GreenMask/BlueMask valid with BI_BITFIELDS; bottom-up rows padded to 4 bytes · 2026-11-10 - WebP Container Specification
ANMF chunk (blending/disposal bits), VP8X flags, ANIM loop count · 2026-11-10 - POSIX pax / ustar (Open Group Base Specifications Issue 7)
pax interchange format, extended header records (path, mtime, size) · 2026-11-10 - EPUB 3.3 (W3C Recommendation), OCF ZIP container
4.2.2 reserves the file name mimetype; 4.3 ZIP requirements (section 4.3 body not read) · 2026-11-10 - W3C: WebVTT: The Web Video Text Tracks Format (Candidate Recommendation Draft 20 May 2026)
File body: UTF-8, MIME text/vtt, optional BOM, "WEBVTT" line; timestamp: hours optional (required if non-zero), mm:ss.ttt with FULL STOP; cue text may contain character references · 2026-11-10 - NDJSON - Newline delimited JSON 1.0.0
one JSON value per line · 2026-11-10 - JSON Lines
UTF-8, one JSON value per line · 2026-11-10 - GitHub Flavored Markdown Spec: tables (extension)
header row, delimiter row, pipe escaping · 2026-11-10 - Java SE 21 java.util.Properties
load(): line continuation, comments, escapes; ISO 8859-1 and Unicode escapes · 2026-11-10 - python-dotenv README (file format)
export directive, quoting, allowed escape sequences, comments · 2026-11-10 - RFC 7519 JSON Web Token
JWT structure, registered claims exp / nbf / iat · 2026-11-10 - RFC 4648 Base16, Base32, Base64 Encodings
Base64, Base64URL, Base16 · 2026-11-10 - RFC 3986 URI Generic Syntax
percent-encoding, reserved and unreserved characters · 2026-11-10 - National Institute of Korean Language: Romanization of Korean
basic principles, transcription system, special provisions and the example words used in our tests · 2026-11-10 - HTML Standard: named character references
entity list incl. legacy names without semicolon · 2026-11-10 - Unicode Standard Annex #15 Normalization Forms
NFC, NFD, NFKC, NFKD · 2026-11-10
Date we opened the original documents ourselves: 2026-11-10. Specifications can change, so read the original again before anything important.