---
title: "JSON Formatter: Format, validate and minify JSON"
canonical: "https://openvibe.tools/tool/json"
updated: null
---

# JSON Formatter: Format, validate and minify JSON

HTML: [JSON Formatter: Format, validate and minify JSON](https://openvibe.tools/tool/json)

# JSON Formatter

Paste messy JSON to pretty-print it with clean indentation, find syntax errors with their line number, collapse and expand nodes, or minify it for production. Runs in your browser.

- **Limits** No daily limit on the page
- **Where it runs** Runs in your browser; nothing is uploaded.
- **Cost** Free, with the limits above. No account needed.

 [Open JSON Formatter](https://json.openvibe.tools/) 

## Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

- [json.openvibe.tools](https://json.openvibe.tools/)Primary
- [jsonfmt.openvibe.tools](https://jsonfmt.openvibe.tools/)Mirror

## People also call this

**What it's for:** Format, validate and minify JSON.

- json formatter
- json validator
- json beautifier
- json viewer
- pretty print json
- json minify
- json lint
- json minifier
- json parser online

## Use it from code

- `POST https://openvibe.tools/api/v1/tools/json/run`
- No account needed: anonymous calls run on the lowest quota tier; a token with `tools.tool.run` raises it.
- It answers with the result.

~~~~
curl -X POST https://openvibe.tools/api/v1/tools/json/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"{\"b\":1,\"a\":2}","mode":"sort-keys"}}'
~~~~

Inputs: [JSON Schema](/api/v1/tools/json/schema) · [OpenAPI](/api/v1/openapi.json) · from JavaScript: `tools.run("json", …)` in [openvibe-sdk](https://github.com/OpenVibers/OpenVibe.SDK) · [How the API works](/developers)

## Similar tools

[All Text & Logo Tools](/text-tools)

[ **Fancy Text Generator** Stylish Unicode fonts to copy and paste *fancy.openvibe.tools*](https://fancy.openvibe.tools/) [ **Glitch Text Generator** Make creepy, corrupted-looking Zalgo text *zalgo.openvibe.tools*](https://zalgo.openvibe.tools/) [ **Bubble Text Generator** Write in circled and squared letters *bubble.openvibe.tools*](https://bubble.openvibe.tools/) [ **ASCII Art Text Generator** Big banner text made from characters *ascii.openvibe.tools*](https://ascii.openvibe.tools/) [ **Symbols to Copy and Paste** Hearts, stars, arrows and special characters *symbols.openvibe.tools*](https://symbols.openvibe.tools/) [ **Kaomoji & Emoticons** Japanese text faces to copy (╯°□°)╯ *kaomoji.openvibe.tools*](https://kaomoji.openvibe.tools/)

## The rest of OpenVibe

5 links

One account works on every site. Open source and community-run.

[**OpenVibe.Live** Live streams, clips and chat](https://openvibe.live/) [**OpenVibe.Community** Pastes, posts and people](https://openvibe.community/) [**OpenVibe.Games** Browser games](https://openvibe.games/) [**OpenVibe.Media** VODs, clips and files](https://openvibe.media/) [**OpenVibe.Network** One account for every site](https://openvibe.network/)
