Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSON editor/formatter? [closed]

I've got some JSON data, but it's all on one line. Does anyone know of a web or Windows editor that will format (e.g. indent and insert new lines) this data for me, so I can read it better? Preferably one that uses a GUI to display the JSON—instead of a command-line tool that outputs a reformatted document, for example.

like image 707
core Avatar asked Sep 29 '08 16:09

core


4 Answers

I have recently created JSON Editor Online, a tool to easily edit and format JSON online. JSON is displayed in a clear, editable treeview and in formatted plain text.

http://jsoneditoronline.org/

like image 83
Jos de Jong Avatar answered Oct 09 '22 04:10

Jos de Jong


Have you tried this?

http://jsonformat.com/

like image 23
Bob Avatar answered Oct 09 '22 04:10

Bob


You can download http://www.thomasfrank.se/json_editor.html and run it locally on your own data, although it is an editor rather than a formatter.

http://www.jsonlint.com/ is also a useful validation and reformatting tool.

like image 26
mpdaly Avatar answered Oct 09 '22 04:10

mpdaly


On windows I go for: http://jsonviewer.codeplex.com/

Handy for pulling raw JSON responses from Firebug and parsing it for me.

like image 39
Ray Leyva Avatar answered Oct 09 '22 03:10

Ray Leyva