What Is Firestore to JSON Conversion?
When working with the Firestore REST API or exporting Firebase data, documents arrive in a typed format with fields like stringValue, integerValue, and mapValue. This converter strips away the Firestore type wrappers and returns plain, clean JSON that is ready for further processing, analysis, or migration.
How to Convert Firestore to JSON
- Paste your Firestore document - Copy the raw Firestore JSON structure from your API response, Firebase export, or backup file.
- Click Convert to extract the plain values from each typed field. The converter handles all Firestore types including nested maps and arrays.
- Copy the output for use in your application, data pipeline, or database migration scripts.
Frequently Asked Questions
Does this support nested Firestore maps?
Yes. The converter recursively processes nested mapValue and arrayValue structures, preserving the full document hierarchy.
What happens to timestamp and reference types?
Firestore timestampValue and referenceValue fields are returned as their raw string values since they are not standard JSON primitives.
Can I convert JSON back to Firestore format?
Yes, use the Swap button to reverse the conversion. This tool is fully bidirectional.