Base64 Encoder / Decoder

Turn text and files into Base64 — and back.

Encode UTF-8 text or any file, decode raw Base64 or data URLs, and download the original bytes. Everything stays in this tab.

Unicode and emoji are encoded as UTF-8.

  1. 1

    Choose encode or decode

    Switch between readable text and byte-perfect file modes.

  2. 2

    Paste text or add a file

    Raw Base64, URL-safe Base64, and Base64 data URLs all work.

  3. 3

    Copy or download

    Copy encoded text, or rebuild the exact bytes as a local file.

Good to know

Are my files or text uploaded?

No. Encoding and decoding happen entirely in your browser. Nothing is sent to Humpback or any other server.

Does Base64 encrypt or protect my data?

No. Base64 is an encoding format, not encryption. Anyone with the encoded value can decode it, so do not use Base64 to hide secrets.

Will Unicode text and emoji work?

Yes. Text is converted to UTF-8 bytes before encoding, so accented characters, non-Latin scripts, and emoji round-trip correctly.

Can I decode Base64 back into any file type?

Yes. File mode preserves the decoded bytes exactly. If you paste a data URL, its MIME type is filled in automatically; otherwise, enter the correct MIME type and filename before downloading.

Why is the Base64 output larger than my file?

Base64 represents every three source bytes with four text characters, so the result is usually about one-third larger than the original file.