JSON Formatter
Beautify, minify, validate, and sort JSON in your browser.
The inputted text is too long to include in a share link.
Decode Base64 into text and encode text back to Base64 instantly in your browser.
Use this tool when you need to inspect an encoded value, prepare a text payload, or create URL-safe Base64 without writing a script.
Base64 is useful when binary or structured text needs to travel through systems that expect plain text, such as JSON payloads, XML documents, email bodies, data URLs, configuration files, and API examples.
Developers often run into Base64 while reading API docs, debugging tokens, inspecting webhook payloads, preparing Basic Auth examples, or working with small embedded files. It is also common in email and MIME workflows where long encoded values may be wrapped across multiple lines.
Base64 makes data easier to transport through text-only systems, but it does not make that data secret. If the decoded value contains a credential, token, private key, or personal information, treat it as sensitive even though the encoded version may look unreadable at first glance.
The tool converts text to bytes in the selected character set, encodes those bytes with the browser's Base64 functions, and applies optional newline, per-line, MIME chunking, and URL-safe formatting rules. Decoding reverses URL-safe substitutions, restores padding when needed, and converts bytes back into text in your browser.
Standard Base64 uses letters, numbers, plus signs, slashes, and optional equals-sign padding. URL-safe Base64 swaps the plus and slash characters for hyphen and underscore so the encoded value is easier to place in URLs, filenames, and token-like strings.
Character set matters because Base64 encodes bytes, not abstract text. UTF-8 is the right choice for most modern content, while ASCII and ISO-8859-1 can help when you are checking older systems or examples that were encoded with narrower character assumptions.
Built and maintained by utilkit. Found an issue? Send corrections to contact@utilkit.com
Beautify, minify, validate, and sort JSON in your browser.
Check a website's HTTP security headers, redirect chain, and common browser protection settings.
Explain cron expressions in plain English, preview upcoming runs, and generate Unix, seconds, or Quartz cron schedules.