Pretty Js

Pretty Js

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

What is Pretty Js?
Pretty Js is a Chrome tool, useful for developers and coders. Its primary purpose is to format Javascript and JSON for better readability. It operates real-time as you type or when you paste into it. It also has the ability to convert JSON to XML and vice versa. The tool provides additional features such as preserving the work state even if you close it, and it provides copy-paste buttons for convenience. It even checks for basic JSON validation errors. Plus, it's free of charge!
Merlin
Stats
Users: 7,000+
Rating: 4.75 (8)
Version: 1.0.12 (Last updated: 2022-10-19)
Creation date: 2020-04-20
Risk impact: Low risk impact
Risk likelihood: Very low risk likelihood
Manifest version: 3
Permissions:
  • clipboardRead
  • contextMenus
Size: 1.84M
Stats date:

Other platforms

Not available on Firefox
Pretty Js
Pretty Js (v1.0.12)
5.00 (2) 3,198+
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.
Chrome-Stats extension
Merlin
Summary

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
See more
User reviews
I'm loving this extension, very easy to use
by Luis R Luis R, 2021-06-27

Просто лучший. Теперь могу быстро читать логи из graylog. LIKEIT!!!
by Nikita Krasnikov Nikita Krasnikov, 2019-11-05

Does what it promises, but should have the ability to paste a url and, more importantly, to collapse objects and arrays. That would be especially helpful for working with geojson where there are massive chunks of coordinates.
by Emily P Emily P, 2019-10-21
View all user reviews
Safety
Risk impact

Pretty Js is relatively safe to use as it requires very minimum permissions.

Risk likelihood

Pretty Js has earned a good reputation and can be trusted.

Upgrade to see risk analysis details
Screenshots
Promo images
Pretty Js small promo image
Small promo image
Similar extensions

Here are some Chrome extensions that are similar to Pretty Js: