Pretty Js

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

Pretty Js is a handy Chrome extension designed to help developers and data professionals quickly format JavaScript and JSON data for easier reading and debugging. It formats code automatically as you type or upon pasting, ensuring that your JSON or JavaScript is always neatly organized. Beyond basic formatting, Pretty Js supports conversion between JSON and XML, making it a versatile tool for handling data in different formats.

Key features include clipboard copy-paste convenience, state preservation so your work isn't lost on closing, JSON validation with error highlighting, and quick replacement of unformatted code with the pretty-printed version. Accessible right from your Chrome toolbar, Pretty Js streamlines your workflow whether you're prototyping JSON, debugging web service calls, or converting data formats. Best of all, it's completely free to use.

Manifest V3 Developer Tools Programming Productivity
Users:
7,000+
Rating:
4.75
(8)
Version:
1.0.12 (Last updated: 2022-10-19)
Creation date:
2020-04-20
Permissions:
  • clipboardRead
  • contextMenus
Size:
1.84M
Full description:
See detailed description
Updated:
a day ago

Other platforms

Pretty Js (v1.0.12)
3,036+ 5.00 (2)

User reviews

I'm loving this extension, very easy to use
by Luis R, 2021-06-27

Просто лучший. Теперь могу быстро читать логи из graylog. LIKEIT!!!
by 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, 2019-10-21
View all user reviews

Extension safety

Risk impact

Pretty Js requires very minimum permissions.

Risk impact analysis details
  • High Allows reading and modifying clipboard content, which can be sensitive, posing a moderate privacy risk.
Risk likelihood

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

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
  • Good **** ********* ** * ******** ********* ** ****** *** *****
  • Good **** ********* *** **** **** *******
Upgrade to see full risk analysis details

Promo images

Pretty Js marquee promo image
Marquee promo image
Small promo image

Compare extensions

Similar extensions

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

JSON Viewer JSON Viewer
tulios
1000K 4.54 (1,086)
JSON Formatter JSON Formatter
https://callumlocke.com
2M 4.58 (1,885)
JSON Beautifier and Editor JSON Beautifier and Editor
yokris.dev
30K 4.78 (41)
JSON Formatter JSON Formatter
https://www.collaboradev.com
1,000 5.00 (1)
Basic JSON Formatter Basic JSON Formatter
Dr. McKay
553 5.00 (2)
JSON Viewer JSON Viewer
teocci
60K 4.22 (156)
XML Tree XML Tree
alan.stroop
90K 4.03 (555)
Code Formatter Code Formatter
https://yassershaikh.dev
5K 4.09 (35)
JSONVue JSONVue
gildas
900K 4.54 (2,653)
Prettyprint Source Prettyprint Source
huywen
1,000 0.00 (0)
TabList Manager TabList Manager
https://whatever-will-be-que-sera-sera.tumblr.com
501 3.83 (18)
Pretty HTML | CSS | XML Pretty HTML | CSS | XML
https://linangdata.com
4K 3.08 (13)