JSON Formatter
Format, minify and validate JSON without changing large integers, number notation, key order or string escapes. Import files and locate syntax errors.
Convert UTF-8 text to Base64 and back instantly, with standard and URL-safe formats and full support for Unicode and emoji.
Updates as you type or change an option
Prepare encoded API values or inspect text without sending it to a server. Edit either side to convert; binary files need a file-specific tool.
Type text on the left to encode it, or paste Base64 on the right to decode it. Choose standard Base64 or Base64url, then copy or download the result.
Text uses UTF-8. Decoding checks the alphabet, padding bits and byte validity instead of silently replacing broken characters. Each input supports up to 2 MiB. Base64 is an encoding, not encryption.
Base64 can represent any bytes, but this tool requires valid UTF-8 text. Images and other binary data may not meet that requirement. Base64 encoding does not encrypt the contents.
Use it when an API expects URL-safe Base64: it replaces + and / with - and _ and omits trailing =. For example, A becomes QQ== in standard mode and QQ in URL-safe mode.
Check the selected alphabet and copy the complete value, including any padding. Spaces and line breaks are ignored, but invalid padding bits and non-UTF-8 decoded bytes are rejected.
Your choice about analytics
We use Umami to measure page visits. Analytics is optional, and your tools work either way.
Your current setting allows analytics.
Your current setting does not allow analytics.
The analytics service has changed. Refresh the page after finishing your current work to apply the new settings.
Your browser is sending a Do Not Track or Global Privacy Control signal. Analytics will remain off.
We use Umami to understand which pages people visit and how they find this site. You can decline or change your choice at any time. All site features will still work.
Your choice is saved in this browser for six months. Analytics does not upload files or content you enter in our tools.
Privacy Policy
Comments
0