Convert Localization JSON Dictionary to CSV

Quickly transform your i18n JSON localization dictionaries into a flattened, single-level CSV spreadsheet. This browser-local tool is pre-configured with `{"flatten": true}` to ensure all nested keys like `"app.greeting"` become `"app_greeting"` for immediate spreadsheet compatibility. Your sensitive translation data never leaves your machine, ensuring privacy and compliance.

Local Browser Processing — Files Stay on Your Device
Reset to Full Tool
🔒 Client-side execution — 0 bytes uploaded to remote serversPowered by JSON to CSV

Workflow Checklist

  • Verify the first column contains flattened keys like `app_title` or `error_message_invalid_input`.
  • Confirm the second column contains the correct translation strings for your target language.
  • Check for any truncated strings or unexpected character encoding issues in the first 100 rows.
  • Ensure the total number of rows in the CSV matches the number of unique translation keys in your source JSON.

Parent Tool & Hub

Step-by-Step Guide: Convert Localization JSON Dictionary to CSV

Follow these exact steps to complete this workflow locally in your browser without uploading files.

Convert Localization JSON Dictionary to CSV — 3-step browser-local workflow diagram
Input i18n JSON, local browser processing with flattening, and secure CSV output. No data ever leaves your device.
  1. 1

    Locate Your i18n JSON File

    Navigate to your project's `locales` or `i18n` directory in Windows Explorer or Mac Finder. Identify the specific JSON file (e.g., `en.json`, `fr.json`) you need to convert to CSV.

    Tip: Ensure your JSON is valid before upload; use an online linter if unsure.
  2. 2

    Drag & Drop JSON to ShowPro

    Open `/tools/convert-i18n-translation-json-to-csv-sheet` in your browser. Drag your `en.json` file directly from your desktop or Finder onto the designated drop zone on the ShowPro tool page.

    Tip: Alternatively, use the 'Browse Files' button for direct file selection.
  3. 3

    Verify Flattening & Preview

    Observe the output preview. Nested JSON keys, like `{"messages": {"welcome": "Hello"}}`, are automatically flattened to `messages_welcome` in the CSV, per the `{"flatten": true}` preset.

    Tip: Review the first few rows to confirm key structure and value integrity.
  4. 4

    Download UTF-8 CSV File

    Click the 'Download CSV' button. Your browser will prompt you to save the generated CSV file. Choose a location like your 'Downloads' folder or project directory.

    Tip: The output is always UTF-8 encoded for broad compatibility.
  5. 5

    Import CSV to Spreadsheet Software

    Open Microsoft Excel, Google Sheets, or LibreOffice Calc. Use the 'Data' > 'Get Data' or 'Import' function, selecting 'CSV' as the file type. Ensure 'UTF-8' encoding is chosen for correct character display.

    Tip: In Excel, choose 'Data' > 'From Text/CSV' and ensure 'File Origin' is '65001: Unicode (UTF-8)'.

Technical Specifications & Preset Reference

Convert Localization JSON Dictionary to CSV — technical specification and dimension reference diagram
The JSON parser flattens keys for CSV compatibility, ensuring UTF-8 output and local processing for maximum privacy.
ParameterRecommended SettingWhy It Matters
Input File TypeJSON (RFC 8259)Ensures the tool can correctly parse and interpret the structure of your localization data.
Key FlatteningEnabled (via `{"flatten": true}`)Converts nested JSON paths (e.g., `a.b.c`) into single-level CSV column headers (e.g., `a_b_c`) for spreadsheet readability.
Output EncodingUTF-8 (with BOM)Ensures all international characters in your translations display correctly in Excel and other spreadsheet programs without corruption.
Processing LocationBrowser-Local (0 Bytes Uploaded)Guarantees your sensitive translation strings and intellectual property remain on your device, never touching external servers.
Max File SizeBrowser Memory DependentLarge JSON files are handled efficiently, limited only by your browser's available RAM, not server constraints.

Common Issues & Troubleshooting Fixes

Excel imports CSV as a single column.

When importing to Excel, use 'Data' > 'From Text/CSV', then in the import dialog, ensure 'Delimiter' is set to 'Comma' and 'File Origin' is '65001: Unicode (UTF-8)'.

Special characters (e.g., accents, emoji) display as gibberish in spreadsheet.

This usually indicates incorrect encoding during import. Always select 'UTF-8' as the file encoding when opening the CSV in your spreadsheet software (e.g., 'Data' > 'Get Data' > 'From Text/CSV' in Excel).

Nested JSON keys are not flattened as expected.

This tool is pre-configured with `{"flatten": true}`. If you're seeing unflattened keys, you might be using a different JSON to CSV tool. Verify you are on `/tools/convert-i18n-translation-json-to-csv-sheet`.

CSV output has empty rows or missing data.

Ensure your source JSON is well-formed and valid. Malformed JSON, such as missing commas or unclosed braces, can lead to parsing errors and incomplete CSV output.

Why Run This Workflow Locally in ShowPro?

Converting i18n JSON to CSV locally in your browser offers unparalleled privacy for sensitive localization data. Unlike remote servers that require uploading your entire translation dictionary, ShowPro processes everything on your device. This eliminates the risk of data breaches, accidental exposure, or compliance issues, making it ideal for proprietary business contracts or confidential product strings that cannot leave your machine.

Frequently Asked Questions

Why is flattening important for i18n JSON to CSV conversion?

Flattening converts hierarchical JSON structures (e.g., `{"menu": {"item": "Home"}}`) into a single-level key (`menu_item`) suitable for CSV columns. This makes the data much easier to manage, sort, and filter within a traditional spreadsheet program.

Can I convert multiple JSON localization files at once?

This tool is designed for single-file conversion to ensure precise control over each language's output. For multiple files, process them individually, then combine the resulting CSVs in your spreadsheet software.

What if my JSON contains arrays or complex objects beyond simple key-value pairs?

This tool focuses on flattening string-based localization dictionaries. Arrays or complex objects within your JSON might be represented as stringified JSON in a single CSV cell, or their data might be omitted if not directly translatable strings.

Is there a limit to the size of the JSON file I can convert?

The conversion happens entirely within your browser's memory. While there's no arbitrary file size limit imposed by ShowPro, extremely large JSON files (hundreds of MBs) might consume significant browser resources, potentially causing slowdowns or crashes on older machines.

How does this tool handle JSON files with different language structures?

The tool processes the JSON structure as it is. If your `en.json` has `app.title` and `fr.json` has `app_title_fr`, the CSV will reflect those distinct keys. Consistency in key naming across languages is recommended for easier management.

Related File Workflows

View File Hub →
Export JSON Array to Excel-Ready CSV Offline
This tool efficiently converts JSON array data into an Excel-ready CSV file, entirely within your browser. Crucially, it's pre-configured with `flatten: true` to handle nested objects and `utf8Bom: true` for flawless character display in Excel, ensuring your sensitive business data never leaves your machine.
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.
Flatten Deeply Nested JSON Arrays to CSV Columns
This tool flattens complex JSON arrays, where objects are deeply nested, into a single, clean CSV file. It's pre-configured with `{"flatten": true}` to automatically expand all nested structures into new columns, ensuring no data is lost. All processing occurs locally in your browser, maintaining strict data privacy for sensitive business or personal records.
Render Any JSON Array as Clean HTML Table
Render sensitive JSON array data into a clean, structured HTML table directly in your browser. This tool ensures your business spreadsheets, archives, or contracts never leave your machine, providing maximum privacy. The pre-configured preset automatically includes a `<thead>` element for proper semantic structure and accessibility.
Convert HTML Web Page or Article to Markdown
This tool converts HTML web pages or articles into clean Markdown, entirely offline in your browser. It's pre-configured with `atx` heading styles and `codeFence` enabled, ensuring your sensitive business documents, archives, or contracts never leave your machine and are ready for platforms like GitHub or Discord.
Export Google Calendar .ics Events to Excel CSV
This tool rapidly converts Google Calendar .ics files into Excel-friendly CSVs, keeping all event details, including descriptions, locally in your browser. It's pre-configured with `includeDescription: true` and `dateFormat: ISO` to ensure comprehensive, universally sortable data for your spreadsheets, with zero data ever leaving your device.