{"id":194666,"date":"2022-06-21T03:28:52","date_gmt":"2022-06-21T01:28:52","guid":{"rendered":"http:\/\/sftarticles.wpenginepowered.com\/en\/?p=194666"},"modified":"2025-07-01T20:38:21","modified_gmt":"2025-07-02T03:38:21","slug":"how-to-use-json-formatter-chrome","status":"publish","type":"post","link":"https:\/\/cms-articles.softonic.io\/en\/how-to-use-json-formatter-chrome\/","title":{"rendered":"How to use the JSON Formatter extension for Chrome in 4 steps"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <strong>JSON Formatter extension<\/strong> helps developers <strong>debug Javascript code<\/strong> more efficiently while making text strings more readable. JSON files consist of English language-based text strings without line breaks. Programmers use the JSON Formatter to present their code in a way that <strong>makes their computer language easier to understand<\/strong>. <\/p>\n\n\n<div class=\"sc-card-program\">\r\n  <div class=\"sc-card-program__body\">\r\n    <div class=\"sc-card-program__row clearfix\">\r\n      <div class=\"sc-card-program__col-logo\">\r\n        <img decoding=\"async\" class=\"sc-card-program__img\" alt=\"JSON Formatter\" src=\"https:\/\/images.sftcdn.net\/images\/t_app-logo-xl,f_auto\/p\/3cb865c1-98b8-4d3b-a967-799368bd051e\/1521790975\/json-formatter-logo.png\" width=\"100px\" height=\"100px\">\r\n      <\/div>\r\n      <div class=\"sc-card-program__col-title\">\r\n        <span class=\"sc-card-program__title\">JSON Formatter<\/span>\r\n        <a class=\"sc-card-program__button sc-card-program-internal\" href=\"https:\/\/json-formatter.en.softonic.com\/\" target=\"_self\" rel=\"noopener noreferrer\">DOWNLOAD<\/a>\r\n      <\/div>\r\n      <div class=\"sc-card-program__col-rating\">\r\n        <svg class=\"rating-score__content\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" x=\"0\" y=\"0\" viewbox=\"0 0 50 50\" enable-background=\"new 0 0 50 50\" xml:space=\"preserve\"><path class=\"rating-score__background rating-score--good\" fill=\"none\" stroke-width=\"6\" stroke-miterlimit=\"10\" d=\"M40 40c8.3-8.3 8.3-21.7 0-30s-21.7-8.3-30 0 -8.3 21.7 0 30\"><\/path><path class=\"rating-score__value rating-score__value--0\" fill=\"none\" stroke-width=\"6\" stroke-dashoffset=\"0\" stroke-miterlimit=\"10\" d=\"M40 40c8.3-8.3 8.3-21.7 0-30s-21.7-8.3-30 0 -8.3 21.7 0 30\"><\/path><text class=\"rating-score__number\" content=\"\" text-anchor=\"middle\" transform=\"matrix(1 0 0 1 25 31.0837)\" data-auto=\"app-user-score\"><\/text><\/svg>\r\n      <\/div>\r\n    <\/div>\r\n    <div class=\"sc-card-program__row\">\r\n      <span class=\"sc-card-program__description\"><\/span>\r\n    <\/div>\r\n    <div class=\"sc-card-program__row\">\r\n      <img decoding=\"async\" class=\"sc-card-program__bigpic\" src=\"\" onerror=\"this.style.display='none'\">\r\n    <\/div>\r\n    <a class=\"sc-card-program__link track-link sc-card-program-internal\" href=\"https:\/\/json-formatter.en.softonic.com\/\" target=\"_self\" rel=\"noopener noreferrer\"><\/a>\r\n  <\/div>\r\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">To access and use the JSON Formatter extension for Chrome, follow these four easy steps.<\/p>\n\n\n<div class=\"howto_container schema-howto-acf-block\"><ol><li><div class=\"howto_item\"><h2>Install the JSON Formatter Chrome extension<\/h2><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2022\/06\/01.JSON-Formatter_Step-one-Install-the-JSON-Formatter-Chrome-extension_Acess-the-JSON-Formatter-extension-under-Developer-tools-at-the-Chrome-Web-Store.jpg\" alt=\"Access the JSON Formatter extension under Developer tools at the Chrome Web Store\" width=\"1200\" height=\"675\"><p>Start by accessing the JSON Formatter extension. You\u2019ll need to be on the <strong>Chrome browser<\/strong> to install this extension.<\/p>\n<\/div><\/li><li><div class=\"howto_item\"><h2>Confirm the JSON extension is valid<\/h2><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2022\/06\/02.JSON-Formatter_Step-two-Confirm-the-JSON-extension-is-valid_Use-the-online-JSON-Schema-validator-to-confirm-your-JSON-data-is-valid.jpg\" alt=\"Use the online JSON Schema validator to confirm your JSON data is valid\" width=\"1200\" height=\"548\"><p>Once you\u2019ve enabled the JSON Formatter Chrome extension, use the interactive <strong>JSON Schema validator<\/strong> to view your source code and ensure that the <strong>JSON document<\/strong> you want to format is valid. JSON documents contain text, curly braces, square brackets, double quotes, commas, and potentially single quotes, depending on <strong>developer preference<\/strong>. Objects housed within curly braces represent multiple pairs and values.<\/p>\n<\/div><\/li><li><div class=\"howto_item\"><h2>Verify the JSON text is readable online<\/h2><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2022\/06\/03.JSON-Formatter_Step-three-Verify-the-JSON-text-is-readable-onlineUse-the-Enterprise-Explorer-view-to-compress-your-text-strings.jpg\" alt=\"Use the Enterprise Explorer view to compress your text strings\" width=\"1200\" height=\"710\"><p>Access the <strong>Enterprise Explorer view<\/strong> within your <strong>Javascript development environment<\/strong>. This custom view displays all your current projects with Java EE extensions. Right-click on your <strong>.json file<\/strong> or any other text string that contains valid JSON code and choose <i>Open With &gt; JSON Editor.<\/i> This <strong>compresses your JSON strings<\/strong>, displaying them on a single line while removing the white space between JSON elements.<\/p>\n<\/div><\/li><li><div class=\"howto_item\"><h2>Test the JSON Formatter application<\/h2><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2022\/06\/04.JSON-Formatter_Step-four-Test-the-JSON-Formatter-application_Test-the-JSON-Formatter-app-after-entering-your-source-code-in-the-text-.jpg\" alt=\"Test the JSON Formatter app after entering your source code in the text field\" width=\"1152\" height=\"720\"><p>Once you\u2019ve verified the <strong>source code<\/strong> is valid and properly formatted, insert the document into the visible text and the web page, and select the <i>Format JSON<\/i> button. The app will display the text in the desired format, making it easier to read. You can opt to reverse your changes and send the code back to its <strong>original space-saving form<\/strong> by entering it in the text field and clicking the <i>Un-Format JSON<\/i> button.<\/p>\n<p>The extension works with local files as well after your enable it in chrome:\/\/extensions. To <strong>inspect the JSON document<\/strong>, simply type in JSON into the console. If you want to view the formatting pane open the view dropdown and select <i>Format current view<\/i>. You\u2019ll notice a simplified <i>View formatting<\/i> that separates <i>List<\/i> and <i>Gallery<\/i> formatting layouts for JSON. The shortcut <i>Ctrl+Shift+I<\/i> lets you format your JSON document from the <strong>context menu<\/strong>.<\/p>\n<\/div><\/li><\/ol><\/div><style type=\"text\/css\">\n\t.howto_container {\n\t  margin: 0 auto;\n\t}\n\t.howto_container img {\n\t\theight: 100%;\n\t\tmargin-bottom: 30px;\n\t}\n\t\n\t\t  .howto_container h2 {\n\t\t\t  clear: none !important;\n\t\t  }\n\t\t  .howto_container ol {\n\t\t\t  list-style: none !important;\n\t\t  }\t\n\t.howto_container ol li::before {\n\t\tcolor: #ffffff !important;\n\t\tbackground:#0073aa !important;\n\t}\n<\/style>\n\n\t\t\n\n\n<p class=\"wp-block-paragraph\">View our list of the <a href=\"https:\/\/chrome.en.softonic.com\/articles\/chrome-extensions-for-developers\" target=\"_blank\" rel=\"noreferrer noopener\">10 best Chrome extensions for boosting developer productivity<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The JSON Formatter extension helps developers debug Javascript code more efficiently while making text strings more readable. JSON files consist of English language-based text strings without line breaks. Programmers use the JSON Formatter to present their code in a way that makes their computer language easier to understand. To access and use the JSON Formatter &hellip; <a href=\"https:\/\/cms-articles.softonic.io\/en\/how-to-use-json-formatter-chrome\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to use the JSON Formatter extension for Chrome in 4 steps&#8221;<\/span><\/a><\/p>\n","protected":false},"author":9223,"featured_media":194671,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wpcf-pageviews":1},"categories":[2441],"tags":[3549],"usertag":[],"vertical":[],"content-category":[],"class_list":["post-194666","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-app-subdomain-redirectionjson-formatter"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/194666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/users\/9223"}],"replies":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/comments?post=194666"}],"version-history":[{"count":1,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/194666\/revisions"}],"predecessor-version":[{"id":323664,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/194666\/revisions\/323664"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media\/194671"}],"wp:attachment":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media?parent=194666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/categories?post=194666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/tags?post=194666"},{"taxonomy":"usertag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/usertag?post=194666"},{"taxonomy":"vertical","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/vertical?post=194666"},{"taxonomy":"content-category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/content-category?post=194666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}