Export Firestore / Supabase JSON Rows to CSV
This tool efficiently converts raw Firestore or Supabase JSON export files into a clean CSV format, perfect for spreadsheet analysis or archival. It's pre-configured to automatically flatten nested JSON objects and include a UTF-8 BOM, ensuring seamless import into Excel or Google Sheets without data corruption or formatting issues. All processing occurs securely in your browser.
Workflow Checklist
- Verify CSV row count matches original Firestore/Supabase document count.
- Check first 5 rows in Excel/Google Sheets for correct column parsing and data types.
- Confirm complex nested fields (e.g., `user.profile.age`) are flattened into distinct columns.
- Ensure all non-ASCII characters (e.g., 'é', 'ñ') display correctly in your spreadsheet application.
Parent Tool & Hub
Step-by-Step Guide: Export Firestore / Supabase JSON Rows to CSV
Follow these exact steps to complete this workflow locally in your browser without uploading files.
- 1
Export Firestore/Supabase JSON
Navigate to your Firestore or Supabase project console. Export your collection data as a JSON file. For Firestore, use the 'Export Collection' feature; for Supabase, export table data via the SQL Editor or API.
Tip: Verify your JSON export isn't truncated for large datasets. - 2
Drag & Drop JSON File
Locate your exported `collection_name.json` or `table_name.json` file in Windows Explorer or macOS Finder. Drag this file directly onto the designated upload area within this browser tool.
Tip: Ensure you're uploading the primary data JSON, not a metadata file. - 3
Verify Auto-Configuration
Confirm that the 'Flatten Nested Objects' and 'Include UTF-8 BOM' options are automatically enabled. These settings are crucial for correct spreadsheet interpretation of your database rows.
Tip: Do not disable flattening for standard relational data exports. - 4
Initiate Local Conversion
Click the 'Convert to CSV' button. The tool will process your JSON data entirely within your browser tab, transforming the nested structure into a flat, tabular CSV format.
Tip: Large files may take a few moments; do not close the browser tab. - 5
Download Processed CSV
Once conversion completes, a download prompt will appear. Save the generated `.csv` file to your desired local directory, ready for import into Excel, Google Sheets, or other business applications.
Tip: Check the first few rows in a text editor for correct header parsing.
Technical Specifications & Preset Reference
| Parameter | Recommended Setting | Why It Matters |
|---|---|---|
| Input File Type | Firestore / Supabase JSON | Ensures the tool's parsing logic correctly interprets database row structures and data types. |
| Flatten Nested Objects | Enabled (True) | Transforms complex nested JSON fields into flat columns (e.g., `address.street`) for spreadsheet compatibility. |
| Output Encoding | UTF-8 with BOM | Guarantees special characters and accents display correctly in Excel without garbled text issues. |
| Processing Location | Browser-Local (0 Bytes Uploaded) | Protects sensitive database records by ensuring data never leaves your machine or requires an account. |
| Max File Size | Limited by Browser Memory | Performance scales with your device's RAM; larger files may require more memory for in-browser processing. |
Common Issues & Troubleshooting Fixes
Excel imports CSV as single column
This occurs when Excel misinterprets the encoding. The pre-configured UTF-8 BOM ensures Excel correctly parses columns on import.
Nested JSON data appears as '[object Object]' in CSV
The 'Flatten Nested Objects' preset (enabled by default) prevents this by converting nested structures into distinct, accessible columns (e.g., `user.name`, `user.email`).
Special characters are garbled (e.g., 'crème' becomes 'crème')
This is an encoding mismatch. The pre-configured UTF-8 BOM specifically tells spreadsheet software to interpret the CSV correctly, resolving character display issues.
CSV headers are missing or incorrect for complex fields
The flattening logic intelligently generates headers for nested paths (e.g., `billing.address.street`). Review the output CSV headers for expected fields and adjust as needed.
Why Run This Workflow Locally in ShowPro?
Unlike cloud-based JSON to CSV converters that require uploading your sensitive Firestore or Supabase database exports to external servers, this tool processes everything locally in your browser. Your critical business data, customer records, or financial information never leaves your machine, eliminating data breach risks and ensuring compliance with strict privacy policies like GDPR or HIPAA.
Frequently Asked Questions
Why does my spreadsheet show all data in one column after import?
This typically means your spreadsheet software failed to detect the correct encoding or delimiter. Our tool includes a UTF-8 BOM, specifically for Excel, ensuring it correctly interprets the CSV structure and separates columns.
What happens to nested fields like 'address.street'?
With 'Flatten Nested Objects' enabled (default), nested JSON paths are transformed into individual columns using dot notation, e.g., an `address` object with a `street` field becomes `address.street` in your CSV header.
Is there a limit to the file size I can convert?
The primary limit is your browser's available memory (RAM). For typical Firestore/Supabase exports, this tool handles several hundred megabytes smoothly. Very large files might require more powerful hardware.
Do I need an internet connection for the conversion?
No, once the tool page loads, the conversion process is entirely offline and local to your browser. Your internet connection is only needed to load the initial webpage.
Can I convert multiple JSON files at once?
This tool is designed for single-file conversions to ensure precise control over each dataset. For multiple files, process them one by one, downloading each CSV before starting the next.