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": { "16": "css/icons/16x16.png", "32": "css/icons/32x32.png", "36": "css/icons/36x36.png", "48": "css/icons/48x48.png", "64": "css/icons/64x64.png", "72": "css/icons/72x72.png", "96": "css/icons/96x96.png", "128": "css/icons/128x128.png", "144": "css/icons/144x144.png", "192": "css/icons/192x192.png", "512": "css/icons/512x512.png" }, "permissions": [ "clipboardRead", "contextMenus"], "action": { "default_icon": "css/icons/96x96.png", "default_popup": "index.html", "default_title": "Pretty Js" }, "background": { "service_worker": "background.js" } }
Read more

How to download and manually install Pretty Js extension for Chrome

Looking for a way to install Pretty Js extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Pretty Js extensions manually, this article outlines two simple methods to effortlessly install Pretty Js extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Pretty Js extension and manually install through Drag &Drop

If you ever need to manually install a Pretty Js extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Pretty Js Extension by clicking the "Download CRX" button on the website.

Look for the Pretty Js extension you wish to install. Go to the website and download the Pretty Js extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Pretty Js extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Pretty Js extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Pretty Js extension for Chrome and install in Developer Mode

This is another method to install Pretty Js extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Pretty Js extension file

Select and download the Pretty Js extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Pretty Js extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Pretty Js extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Pretty Js extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Pretty Js extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

JSON Viewer Extension · Developer Tools 7,000+ 1082 ★ 310KiB

icon

JSON Formatter Extension · Developer Tools 7,000+ 1859 ★ 19.86KiB

icon

JSON Beautifier and Editor Extension · Productivity 7,000+ 36 ★ 450KiB

icon

JSON Formatter Extension · Developer Tools 7,000+ 1 ★ 3.22MiB

icon

Basic JSON Formatter Extension · Developer Tools 7,000+ 2 ★ 222KiB

icon

JSON Viewer Extension · Developer Tools 7,000+ 157 ★ 104KiB

icon

XML Tree Extension · Developer Tools 7,000+ 555 ★ 422KiB

icon

JSONVue Extension · Developer Tools 7,000+ 2651 ★ 181KiB

icon

Prettyprint Source Extension · Developer Tools 7,000+ 0 ★ 12.23MiB

icon

TabList Manager Extension · Productivity 7,000+ 18 ★ 447KiB

icon

JSON Formatter Extension · Developer Tools 7,000+ 22 ★ 30.93KiB

icon

Pretty HTML | CSS | XML Extension · Productivity 7,000+ 12 ★ 1.55MiB

icon

DJSON. JSON Viewer & Formatter Extension · Developer Tools 7,000+ 68 ★ 126KiB

icon

JSON Lite Extension · Developer Tools 7,000+ 56 ★ 23.65KiB

icon

JSON Formatter Extension · Developer Tools 7,000+ 65 ★ 40.9KiB

icon

JSON-handle Extension · Developer Tools 7,000+ 450 ★ 193KiB

icon

Code Formatter Extension · Developer Tools 7,000+ 35 ★ 5.9MiB

icon

JSON live editor Extension · Developer Tools 7,000+ 14 ★ 252KiB

icon

JSON Formatter Extension · Developer Tools 7,000+ 33 ★ 102KiB

icon

Code Formatter - JSON, CSS & JavaScript Extension · Developer Tools 7,000+ 15 ★ 1.38MiB

icon

Code Beautifier (JS, CSS, HTML) Extension · Developer Tools 7,000+ 1 ★ 222KiB

icon

Prettier Chrome Extension Extension · Developer Tools 7,000+ 2 ★ 3.36MiB

icon

JSON Viewer Pro Extension · Developer Tools 7,000+ 137 ★ 349KiB

icon

Beautifer & Minify Extension · Developer Tools 7,000+ 5 ★ 430KiB

User reviews

icon

Luis R (ID: 000000fadd1fd6d1) Voted 5 ★ - Updated 06/27/2021 I'm loving this extension, very easy to use

icon

Nikita Krasnikov (ID: 0000008869cb352d) Voted 5 ★ - Updated 11/05/2019 Просто лучший. Теперь могу быстро читать логи из graylog. LIKEIT!!!

icon

Emily P (ID: 000000bf6438b3aa) Voted 3 ★ - Updated 10/21/2019 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.