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

Latest Version

Version
1.0.12
Update
October 19, 2022
Size
1.75MiB
Developer
linangdata.com
Category
Users
7,000+
Rating
4.75 ★
Manifest Version
3
Web Store Status
Languages Support
English (United States)
See more
Permissions
ClipboardRead
ContextMenus
See more

Pretty Js Extension

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!
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Pretty Js", "short_name": "Pretty Js", "description": "Pretty print your Javascript and JSON. Format your code for easier reading. Convert between XML and JSON.", "version": "1.0.12", "offline_enabled": true, "icons": { \t \t "16": "css/icons/16x16.png", \t "32": "css/icons/32x32.png", \t "36": "css/icons/36x36.png", \t "48": "css/icons/48x48.png", \t "64": "css/icons/64x64.png", \t "72": "css/icons/72x72.png", \t "96": "css/icons/96x96.png", \t "128": "css/icons/128x128.png", \t "144": "css/icons/144x144.png", \t "192": "css/icons/192x192.png", \t "512": "css/icons/512x512.png" }, "permissions": [\t "clipboardRead", "contextMenus"\t], "action": { "default_icon": "css/icons/96x96.png", "default_popup": "index.html", "default_title": "Pretty Js" }, "background": { "service_worker": "background.js" } }
Read more