Logo

Pretty Js

4.8 (8)7,000+Featured

Pretty print your Javascript and JSON. Format your code for easier reading. Convert between XML and JSON.

View in Chrome Store

Screenshots (2)

Screen Shot
Screen Shot

Additional Information

Full Description

Pretty print your Javascript and JSON. Format your code for easier reading. Convert between XML and JSON.

A simple tool to quickly and easily format your JavaScript and JSON. See your code formatted as you type! Or have your code instantly converted when you paste into the text area. Also lets you convert between JSON and XML. 

This tool is useful if you :
-  want a quick way to format JSON that is, for example, returned as a single line by a Web service call. 
-  have a JSON structure that's just badly formatted, 
-  just want to prototype a JSON structure and have it formatted as you type rather than worry about formatting it yourself.
-  want to see the formatted JSON while debugging a web service call
-  need your JSON as XML or want to convert some XML to JSON

Features:
- available as an icon on your Chrome toolbar
- remembers the current state so when you reopen the tool you can carry on where you left off- you won't lose any of your work when you close the tool
- convenient buttons for copy and pasting to and from the clipboard
- provides a useful button for replacing the JSON in your work area with the formatted version - useful when prototyping a JSON structure
- formats Javascript
- basic json validation errors are shown
- provides links to other tools from LinangData from the More tools menu
- It's free!