Encoding a short phrase
Convert plain text into its Base64 representation.
HelloSGVsbG8=Encode UTF-8 text to Base64 or decode Base64 strings back to readable text in your browser.
Encode UTF-8 text to Base64 or decode Base64 back to text.
Enter text or Base64 above to see the result.
One tap, no account. Your vote is saved in this browser and counted in our site analytics.
Text is converted through TextEncoder/TextDecoder before Base64 conversion, so accented letters, emoji, and non-Latin scripts round-trip correctly, unlike naive btoa calls.
Decoding checks the character set and padding length before attempting to decode, catching malformed Base64 with a clear message instead of a browser exception.
Line breaks and spaces from emails, certificates, or wrapped text blocks are stripped automatically so pasted multi-line Base64 still decodes.
Switch between encode and decode without reloading the page or losing your place.
Choose encode to convert plain text into Base64, or decode to convert a Base64 string back into readable text.
Enter plain text (including Unicode characters) for encoding, or a Base64 string - with or without line breaks - for decoding.
Review the converted output plus input and output character counts to confirm the conversion matches what you expected.
Copy the result to your clipboard, or download it as a text file for use in configs, emails, or code.
Decode JWT segments, Basic Auth headers, or embedded API payloads to inspect their actual content during debugging.
Encode strings that need to travel safely through systems that don't handle raw binary or special characters well.
Encode small text or inspect the Base64 portion of a data: URI without opening browser developer tools.
Decode PEM-wrapped Base64 blocks (with line breaks) to sanity-check their contents before deploying them.
Convert plain text into its Base64 representation.
HelloSGVsbG8=Reverse the previous example to confirm a round trip.
SGVsbG8=HelloNon-ASCII characters are UTF-8 encoded before Base64 conversion.
café ☕Y2Fmw6kg4piVAll encoding and decoding happens locally using your browser's built-in TextEncoder, TextDecoder, btoa, and atob APIs. ToolMint does not upload, log, or store the text or Base64 you enter, even temporarily.
A Base64 encoder/decoder converts between readable UTF-8 text and its Base64 representation - a scheme that maps binary or text data onto 64 printable ASCII characters. It's widely used in JSON APIs, email attachments (MIME), data URIs, and authentication headers where raw bytes or special characters aren't safe to transmit directly.
Base64 shows up constantly in developer workflows - JWT tokens, Basic Auth headers, embedded images, and API payloads all use it. Having a fast, UTF-8-correct converter saves you from opening a terminal, writing a one-line script, or trusting an unknown third-party site with potentially sensitive text.
This tool is built for text workflows, not large binary files - very large inputs may be constrained by browser memory, and it does not stream or chunk conversion for multi-megabyte payloads.
URL Encoding Explained: Percent Signs, Plus Signs, and Double Encoding
How percent-encoding works, when to use encodeURIComponent versus encodeURI, why spaces sometimes become plus signs, and how to spot double-encoded URLs.
Convert CSV to JSON Without Breaking Your Data
Why CSV to JSON conversions go wrong - quoted commas, line breaks inside cells, delimiters, and lost leading zeros - and how to check the output before it reaches your app.
Seven Regex Mistakes That Break JavaScript Code
Unescaped dots, missing anchors, greedy matches, the stateful g flag, and catastrophic backtracking - what each mistake looks like and how to test for it before it ships.
Developer
Format and validate JSON instantly.
Updated Jul 20, 2026
Developer
Check JSON syntax and inspect structure locally.
Updated Jul 20, 2026
Developer
Format and minify SQL instantly.
Updated Jul 20, 2026
Developer
Format and minify HTML instantly.
Updated Jul 20, 2026
See every utility on the all tools page.
Found a problem or missing feature? Tell us - no account required.
Last updated: