Skip to the converter

JSON5 to JSON converter, without the upload.

Turn JSON5 into standard JSON. It is converted in your browser, so the file never leaves your device.

Drop JSON5 files here

or choose from your computer paste with Ctrl V

Ready · other file types work too0 bytes uploaded, ever

Convert to

How to convert JSON5 to JSON

  1. Add your JSON5 data files

    Drop JSON5 files onto the box above, or click it to choose them. ToAny reads the file's contents to detect the type, so a wrong extension does not matter.

  2. JSON is already chosen

    Press Convert. There is nothing else to set. The work happens in this tab.

  3. Download

    Save the JSON, or download everything as one ZIP if you converted several files.

Why ToAny

  • Private by construction

    The JSON5 to JSON converter is part of this page and runs inside your browser. Your data files are never sent to ToAny or to anyone else.

  • No upload, no queue

    Nothing has to travel to a server and back, so the conversion starts the moment you press Convert, even on a slow connection.

  • Free, without an account

    No sign-up, no email address and no watermark. Add several files and download them together as a ZIP.

JSON5 to JSON: what to expect

JSON5 allows comments, trailing commas and unquoted keys, which makes configuration pleasant to write, but programs that expect standard JSON reject it. Converting produces plain JSON any parser accepts.

Comments, trailing commas, unquoted keys and single-quoted strings are accepted. Only the data is kept, so comments in the file are not carried over.

JSON5 vs JSON

JSON5

JSON5 data

JSON5 is a superset of JSON meant to be written by people. It allows comments, trailing commas, unquoted keys, single-quoted strings and a few more conveniences, so config files are easier to maintain. Standard JSON parsers reject it.

Opens in Text editors and any program with a JSON5 library

JSON5 converter
JSON

JSON data

JSON represents data as nested objects and lists in plain text. It is the default language of web APIs. Unlike a spreadsheet it can be nested to any depth, which is also why turning it into rows and columns takes a decision about how to flatten it.

Opens in Any text editor, every programming language, browser developer tools

JSON converter
JSON5 compared with JSON
JSON5JSON5 dataJSONJSON data
Stands forJSON5JavaScript Object Notation
TypePlain-text dataStructured data (text)
CompressionNoneNone
Introduced2012, by Aseem Kishore and contributors2001, by Douglas Crockford
Opens inText editors and any program with a JSON5 libraryAny text editor, every programming language, browser developer tools
Best forHand-edited configuration filesAPIs and data exchanged between programs
File extension.json5.json

Questions

Are my data files uploaded anywhere?

No. The JSON5 to JSON conversion runs inside your browser, on your own phone or computer. The file is not sent to ToAny or to anyone else.

Is anything lost when converting JSON5 to JSON?

The values are kept. Anything JSON has no way to express, such as formatting, formulas or nesting, is simplified or left out.

Can I convert several JSON5 files at once?

Yes. Add as many as you like, convert them together and download each result or all of them as one ZIP.

How do I convert JSON5 to JSON on Windows, Mac, iPhone or Android?

The steps are the same everywhere because ToAny runs in the web browser: open this page in a current version of Chrome, Edge, Safari or Firefox, add the JSON5 file, press Convert and save the JSON. There is nothing to install.

Is there a file size limit?

Yes. Data files up to 300 MB are accepted; a larger file is refused with a message. Beyond that the limit is your device's memory, since nothing is uploaded; a computer copes with large files better than a phone.

Convert JSON5 to…