Base64 Encoder / Decoder

Encode UTF-8 text to Base64 or decode Base64 back to readable text in your browser.

Private in your browserFree · No sign-up
Runs in your browser

Your input

Paste your text or try the example. Adjust the options to compare results.

0 / 100,000 characters

Your result

Your result will appear here

Enter valid details, or run the tool with the example values.

Method & assumptions

Encoding converts UTF-8 bytes to the standard Base64 alphabet. Decoding validates padded Base64 and then decodes bytes as UTF-8.

Limits to keep in mind

Text only; arbitrary binary files are not supported. Use standard padded Base64, not Base64URL. Maximum input: 100,000 characters. Base64 is encoding, not encryption.

Your input stays on this device. No uploads, no account.
FROM INPUT TO ANSWER

How to use the base64 encoder / decoder

  1. 01

    Enter your input

    Enter your own values or use an example to explore base64 encoder / decoder.

  2. 02

    Review the result

    Encoded output represents UTF-8 text in Base64. Decode to check a round trip. Base64 makes text transferable; it does not protect a secret.

  3. 03

    Compare or copy

    Adjust one input to compare outcomes. Copy the result when ready, or reset for a new calculation.

A LITTLE CONTEXT

About this base64 encoder / decoder

Convert ordinary text into standard Base64, or decode Base64 back into readable UTF-8 text. Switch modes before running the transformation. This is useful when inspecting a text payload or preparing a value for a system that expects Base64. Unicode text is encoded as UTF-8 bytes first. Processing happens locally and the output can be copied directly without sending its contents to an external service.

How the base64 encoder / decoder works

Encoding converts UTF-8 bytes to the standard Base64 alphabet. Decoding validates padded Base64 and then decodes bytes as UTF-8.

Base64 Encoder / Decoder examples

01

Hello

SGVsbG8=
02

✓

4pyT

Limitations & privacy

Text only; arbitrary binary files are not supported. Use standard padded Base64, not Base64URL. Maximum input: 100,000 characters. Base64 is encoding, not encryption.

Inputs and results stay in this browser. Only tool identifiers are stored for your recently used tools. You can clear that history from the directory.

Base64 Encoder / Decoder: frequently asked questions

Is Base64 private encryption?

No. Anyone with the string can decode it.

Are emoji supported?

Yes, through UTF-8 encoding.

Why did decoding fail?

The input may be unpadded, use the URL-safe alphabet, or contain bytes that are not valid UTF-8.

Updated September 20, 2026

Related tools for your next step

All tools