Base64
Encode or decode Base64 in the browser. Another example tool linked from the left nav.
About Base64
Encode text to Base64 or decode Base64 back to plain text instantly with this free online Base64 encoder and decoder. It is a quick way to inspect encoded API payloads, data URLs, basic auth headers, and configuration values without writing a script. Unicode input is handled correctly in both directions so international text round-trips instead of turning into mojibake.
Developers decode Base64 from JWT-adjacent blobs, email MIME parts, Kubernetes secrets they already have on screen, and JSON fields that store binary as text. They encode strings to put into XML, HTTP headers, or config. Support engineers decode a value a customer pasted. Students learn how Base64 looks compared with the original text.
Paste either direction, run encode or decode, and copy the result. Invalid Base64 is easier to notice than in a terminal when the output is clearly wrong or an error is shown. For images, use the Image to Base64 tool, which understands files and data URLs. This page is the text-focused encoder and decoder.
Encoding and decoding happen entirely in your browser, so tokens and secrets are never transmitted to a server. Use this free Base64 encoder and Base64 decoder whenever you need a private, instant conversion between plain text and Base64.