Base64 Encoder / Decoder
Convert text to Base64 or back, with UTF-8 and URL-safe support. Nothing leaves your browser.
Copied to clipboard.
How Base64 encoding works
Base64 writes every 3 bytes of data as 4 text characters from a 64-character alphabet (A-Z, a-z, 0-9, + and /), padding the end with = when needed. The output is about 33 percent larger than the input.
Pick Encode or Decode, then type or paste. The result updates as you type. Turn on URL-safe to use - and _ and skip the padding. To encode a file, choose it and copy the resulting data URL.
Frequently Asked Questions
Does this support emoji and non-English text?
What is URL-safe Base64?
Why do I get an invalid Base64 error?
Is Base64 a form of encryption?
Is my data uploaded?
More tools
JWT Decoder
Decode JSON Web Token headers and payloads locally.
UUID Generator
Generate random UUIDs in bulk.
Hash Generator
Create SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files in your browser.
URL Encoder / Decoder
Percent-encode and decode URLs and query strings.
Color Converter
Convert colors between HEX, RGB, HSL and more.
QR Code Generator
Create QR codes for links and text and download them.
Published