JSON Formatter vs URL Encoder / Decoder
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
}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"
}| Feature | JSON Formatter | URL Encoder / Decoder |
|---|---|---|
| Category | formatting | encoding |
| Inputs | json, mode, indent, sort_keys, repair | input, mode |
| Outputs | output, valid, error, error_line, error_column | output, mode, changed, encoding_table |