How to Export SQLite to Excel: Step-by-Step Tutorial
📊 Open the SQLite to Excel Converter and follow along.
Open Tool →Steps
This tutorial walks you through exporting a SQLite database to an Excel workbook using the SQLite to Excel Converter. The entire process takes under a minute for most databases and produces a clean, multi-tab workbook with a schema overview and one tab per table.
Step 1: Locate Your SQLite File
Find the .sqlite, .db, .sqlite3, or .s3db file you want to export. Common locations include:
- Android apps:
/data/data/com.app.name/databases/(requires ADB or root) - iOS apps: accessible via the Files app, Finder sync, or iTunes backup extraction
- Web apps: often in the project's
data/ordb/directory - Python/Django/Flask: typically
db.sqlite3in the project root
The tool only reads the file — it never modifies it — so no backup is strictly necessary, but it's always good practice.
Step 2: Drop the File into the Tool
Open the SQLite to Excel Converter. Drag your database file onto the green drop zone, or click to open a file browser. The tool loads the file using sql.js (a WebAssembly build of SQLite) entirely in your browser — no upload occurs.
The status bar will update to show the file name, number of tables detected, and total row count. The output filename is automatically set to match your database filename.
Step 3: Review the Schema Overview
Below the drop zone, the Database Schema section now shows a card for each table. Each card displays:
- The table name
- The row count (with a yellow badge and tab count if it exceeds the row limit)
- Column names, types, and primary key indicators (🔑)
Scan through these cards to confirm all expected tables are present and the row counts look reasonable. Tables starting with sqlite_ are internal system tables and are automatically excluded.
Step 4: Configure Export Options
The Export Options panel lets you customize the output:
| Option | Default | What It Does |
|---|---|---|
| Output Filename | (from your file) | Sets the download filename (without .xlsx extension) |
| Max Rows Per Tab | 1,048,576 | Tables exceeding this are split across multiple tabs. Lower it for smaller chunks. |
| Include Schema tab | ✓ On | Adds the schema overview as the first sheet |
| Auto-size column widths | ✓ On | Adjusts column widths based on content (samples first 50 rows) |
| Style header row | ✓ On | Makes column headers bold with a colored background |
| Include row numbers | Off | Adds a sequential row number column to each tab |
Tip: If you're exporting for someone who will be doing analysis in Excel, leave auto-sizing and header styling on. If you're exporting for programmatic consumption (e.g., importing into another system), turn them off for cleaner raw data.
Step 5: Generate the Workbook
Click the Generate Excel File button. A progress bar shows the conversion status as each table is processed. For small databases (under 10 tables, a few thousand rows), this completes almost instantly. For larger databases, it may take a few seconds — the progress bar updates per table so you can see it working.
Step 6: Review the Results
The Results panel appears with a summary and the list of worksheet tabs. You'll see:
- Stats: total sheets, tables, rows, and the number of split tables
- Tab pills: each tab is shown as a pill. Green pills indicate the Schema tab. Yellow pills indicate split tabs (tables that exceeded the row limit).
Check that the sheet count matches your expectation: it should be (number of tables) + 1 (for the Schema tab) + any extra tabs from splitting. For example, a database with 8 tables and no splits would produce 9 sheets.
Step 7: Download the .xlsx File
Click Download .xlsx. The file is generated in your browser and downloaded immediately. The filename will be whatever you entered in the Output Filename field, with a .xlsx extension.
Step 8: Open and Verify in Excel
Open the downloaded file in Microsoft Excel, Google Sheets, or LibreOffice Calc. Verify that:
- The Schema tab (first sheet) shows all tables with their columns, types, and metadata
- Each table has its own tab with headers matching the column names
- Row counts match what the tool reported
- Data types look correct — numbers should be numbers, not text-that-looks-like-numbers
- If any tables were split, all parts are present (e.g.,
BigTable_1,BigTable_2, etc.)
Common Things to Check
- Dates appearing as text. SQLite stores dates as strings. In Excel, select the column, right-click → Format Cells → Date to apply date formatting.
- Large numbers showing as scientific notation. Excel may display large integers in scientific notation. Widen the column or format as Number with 0 decimal places.
- BLOB columns showing hex. Binary data is rendered as hexadecimal strings (first 100 bytes). This is expected — Excel can't display binary data natively.
Troubleshooting
If the tool shows an error when you drop the file, the most common cause is that the file is not a valid SQLite database. Verify it by running file yourfile.db on the command line — it should report "SQLite 3.x database". Encrypted databases (SQLCipher) are not supported.
If the browser becomes unresponsive during generation, the database is likely too large for your available memory. Try closing other tabs and retrying, or lower the max-rows-per-tab setting to reduce peak memory usage.
📊 Try it now — export your SQLite database to Excel in under a minute.
Open Tool →Related Tools & Guides
Further reading: Microsoft — T-SQL Reference
