JSON5 Viewer: Open .json5 Files as Plain JSON
JSON5 viewer is a free OpenAnyDoc tool. Open a .json5 file and it is shown as plain JSON in a tree you can search and edit, ready to save as .json.
Runs on your device: no upload, no sign-up, no ads How to check
Paste text instead
Pasted text stays in this tab and is never sent anywhere.
How it works: open a JSON5 file
Open or paste JSON5
Choose a .json5 file, drop it on the page, paste the text into the box, or try one of the two samples.
Read it as JSON
The data appears as plain JSON beside a collapsible tree. Search keys and values, or change one.
Save plain JSON
Download saves a .json file with the same name. Copy takes the JSON text instead.
JSON5 viewer: what it can't do
- Up to 10 MB per file
- Comments are not kept: JSON has no place for them.
- Download saves JSON, not JSON5.
- Whole numbers above 9,007,199,254,740,991 are rounded when JSON5 is read, and Infinity and NaN become null.
- Keys that are whole numbers move to the front of their object.
- Files up to 10 MB.
Questions about JSON5 files
- Is my file uploaded?
- No, the .json5 file is read and turned into JSON by your browser, on your device, and is never sent anywhere. Pasted text stays in this tab.
- What is a .json5 file?
- JSON written the way people write code: comments, keys without quotes, single quotes and a comma after the last item are allowed. Build tools and editors use it for settings because it is easier to write by hand.
- What happens to the comments in my JSON5 file?
- They are read past and not kept. The page shows the data only, and the .json file you download has no comments. Keep the original .json5 file if you need them.
- Can I save the file as JSON5 again?
- No, this page reads JSON5 and writes standard JSON. That is what most programs and APIs expect.
- My JSON5 file will not open. Why?
- It has a mistake that JSON5 does not allow either, such as a missing bracket. The page shows the message with the line where reading stopped.
- Is there a size limit for JSON5 files?
- Files up to 10 MB. Larger files are refused before they are read.
Why it's private: your files never leave your browser
Many online file tools upload your file, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.