Convert Dock

pick a converter · runs entirely in your browser
dark

TextBase64

chars 0 encoded bytes 0
Text
drop a .txt file here0 bytes
TXT
B64
Base64
drop any file to base64-encode it0 bytes

What is Base64 encoding?

Base64 turns text or binary data into a string made up only of letters, numbers, +, /, and = — characters that are safe to put anywhere plain text is expected, even if the original data has special characters or raw binary bytes that wouldn't otherwise transfer cleanly. It's a decades-old, universal internet standard, not anything specific to this site.

You'll run into Base64 when embedding a small image directly inside HTML or CSS (a data:image/png;base64,... URL), sending binary attachments through text-only channels like email, storing binary data such as a cryptographic key inside JSON, or reading the Base64-encoded credentials in an HTTP Basic Authentication header.

Frequently asked questions

Is Base64 the same as encryption?
No. Base64 is purely a format conversion — anyone can decode it back to the original instantly, with no password or key required. It makes data text-safe, it does not hide or protect it.
Does this handle accented characters and emoji correctly?
Yes. Text is encoded using UTF-8 byte sequences before Base64 encoding, so non-English characters, accents, and emoji round-trip correctly rather than becoming garbled.
Can I encode a file, not just typed text?
Yes — drop or upload any file onto the Base64 side (an image, a PDF, anything) and it will encode the file's actual binary content to a Base64 string. Uploads on the Text side stay text-only, to match how you'd typically use that pane.
Is any of this uploaded to a server?
No. Encoding and decoding both happen locally in your browser using built-in JavaScript functions. Nothing you type, paste, or upload is transmitted anywhere.