Base64 Encoder / Decoder vs JSON Formatter

encoding

Base64 Encoder / Decoder

Encode text or data to Base64, or decode Base64 back to plain text.

Encode any UTF-8 string to Base64 or decode a Base64 string back to plain text. Supports standard Base64 (RFC 4648) and URL-safe Base64 (uses - and _ instead of + and /). Detects and reports malformed input.

Example input:

{
  "input": "Hello, World!",
  "mode": "encode",
  "charset": "standard"
}
Use Base64 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
FeatureBase64 Encoder / DecoderJSON Formatter
Categoryencodingformatting
Inputsinput, mode, charsetjson, mode, indent, sort_keys, repair
Outputsoutput, valid, encoding, byte_length, erroroutput, valid, error, error_line, error_column

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