Convert Encoding of JSON Files Online
Detect and convert the character encoding of JSON files directly in your browser. Switch between UTF-8, Latin-1, Windows-1252, and more — no upload required.
About this tool
Detect the character encoding of a JSON file and convert it to UTF-8. Fixes garbled characters caused by Windows-1252 or Latin-1 encoding being misread as UTF-8. The browser's built-in TextDecoder handles the conversion — no data leaves your device.
Frequently Asked Questions
What character encodings does the JSON encoding tool detect?
UTF-8 (with and without BOM), UTF-16LE, UTF-16BE, Windows-1252, and ISO-8859-1 (Latin-1). If auto-detection is wrong, you can manually select the correct source encoding.
Why do I see garbled characters in my JSON file?
Your file is likely encoded in Windows-1252 or Latin-1 but being read as UTF-8. Use this tool to detect the actual encoding and convert to UTF-8 for universal compatibility.
What encoding should I convert my JSON file to?
UTF-8. It is the universal standard supported by every modern tool, database, and programming language. This tool always outputs UTF-8.
Is my data private?
Yes — completely. Your file is never uploaded to any server. Everything runs locally in your browser using WebAssembly — processing happens entirely inside your tab. Once you close the tab, nothing is retained.
What is the maximum file size?
The free limit is 50 MB. For larger files, performance depends on your device's available memory — most modern machines handle 500 MB to 1 GB comfortably.
Related Tools
Rank Rows in JSON Files Online
Add a rank column to JSON files based on any column's values. Choose RANK, DENSE RANK, or ROW NUMBER, with optional partitioning — runs entirely in your browser.
Add Cumulative Sum to JSON Files Online
Add a running total column to JSON files for any numeric column. Optionally order by a date or sequence column and restart totals per group — no upload required.
Detect Outliers in JSON Files Online
Detect statistical outliers in JSON files directly in your browser. Flag or remove rows where numeric values exceed a chosen number of standard deviations from the mean — no upload required.
Validate Email Addresses in JSON Files Online
Validate email addresses in JSON files directly in your browser. Add a boolean column flagging valid and invalid emails, or filter to show only invalid rows — no upload required.
Add Moving Average to JSON Files Online
Add a moving average, rolling sum, rolling min, or rolling max column to JSON files directly in your browser. Choose window size, order-by column, and optional partitioning — no upload required.