Developer docs
Let readers tidy API responses next to your guide.

Let visitors paste JSON and get it indented or minified, with optional sorted keys and the exact line and column of any error, entirely in the browser.
These are the actual published outputs of the widget. Paste or edit JSON in any of them; the result updates as you type.
Content sets the starting layout, whether keys are sorted, whether visitors can change both, the input limit, and every label and message. The Style tab covers the text areas, labels and messages (including error colours) and the Copy and Clear buttons.
Developers, students and support teams often need to read a long line of JSON or find out why it will not load, but online formatters send the data to someone else's server. JSON formatter runs on your own page: visitors paste JSON and get it indented or minified as they type, with keys sorted if they wish. Errors are explained in plain words with the line, the column and a pointer to the problem. Numbers and strings are kept exactly as written, and nothing is sent anywhere.
Let readers tidy API responses next to your guide.
Help customers find the error in a settings file.
Show students what valid JSON looks like.
Start with Complementor installed and your license connected. Enable this module in the WordPress library, then configure it in Elementor.
Install Complementor, connect your license and enable JSON formatter in the Complementor library.
Add the widget to a page.
Choose the starting layout and whether keys are sorted.
Decide whether visitors can change the layout and sorting.
Style it and paste some JSON.
Configure the settings available for this module to suit the page you are building.
Live formatting while typing.
2 spaces, 4 spaces, tabs or minified.
Optional sorted keys.
Error line, column and reason.
Numbers kept exactly as written.
Copy and Clear buttons.
Compare the existing Elementor workflow with this Complementor module before choosing your setup.
They send pasted data to their servers and take visitors off your page.
Works well, but visitors must install and open it first.
Complementor uses classic Elementor APIs. Atomic-native controls are not implemented. Check your theme, cache and integrations on a staging site before release.
Check these settings if the published page behaves differently from the editor.
JSON does not allow a comma after the last item in an object or array.
JSON strings and property names must use double quotes.
It passed the input limit. Raise the limit in the Formatting section.
Keys are sorted by character code, where capital letters come before small letters.
No. It works with the free version of Elementor.
No. Formatting happens in the visitor's browser and nothing is saved.
No. Numbers and strings are copied exactly as written, including very large numbers.
Yes. The fields are labelled and the valid or error message is announced to screen readers.
Yes. Without it a short message is shown instead.
This module is included with all 1007 current Complementor solutions. Choose your production website allowance; every plan includes the same modules.
Renews at $29 USD each year.
Renews at $49 USD each year.
Renews at $99 USD each year.
Applicable taxes extra. Annual subscriptions renew automatically unless canceled in your customer account. Elementor Pro is required for Exclude current post. Read the terms and 14-day technical-issue refund policy.