JSON Formatter vs URL Encoder / Decoder

formatting

JSON Formatter

Pretty-print or minify JSON — with syntax validation.

Paste raw or minified JSON and format it with configurable indentation, or minify it by removing all whitespace. Validates syntax, reports parse errors with line/column, and optionally sorts keys or repairs malformed JSON.

Example input:

{
  "json": "{\"name\":\"Alice\",\"age\":30}",
  "mode": "pretty",
  "indent": 2,
  "sort_keys": false,
  "repair": false
}
Use JSON Formatter
encoding

URL Encoder / Decoder

Encode or decode URLs and query string components using percent-encoding (RFC 3986).

Encode any string for safe use in a URL or query parameter using percent-encoding (RFC 3986), or decode a percent-encoded string back to plain text. Supports both full URL encoding (preserves ://?=& structure) and component encoding (encodes every special character). Shows a character-by-character encoding table for reference.

Example input:

{
  "input": "hello world & more=stuff",
  "mode": "encode-component"
}
Use URL Encoder / Decoder
FeatureJSON FormatterURL Encoder / Decoder
Categoryformattingencoding
Inputsjson, mode, indent, sort_keys, repairinput, mode
Outputsoutput, valid, error, error_line, error_columnoutput, mode, changed, encoding_table

We use cookies to serve ads and measure traffic. Cookie policy · Privacy policy