Base64 Encode

Base64 Encode

Encode text to Base64 (UTF-8 safe). Type or paste below — the result updates as you type.

Free
No signup
Instant
Private
Input
0 words • 0 characters • 0 without spaces • 0 lines
Convert to
Output
0 words • 0 characters • 0 without spaces • 0 lines

Private by design

This conversion runs entirely in your browser. Your text is not sent to a server.

Tip

Base64 is encoding, not encryption. Anyone can decode it. Use it for transport, data URLs, and tokens — not to hide secrets.

How to convert with Base64 Encode

  1. Paste or type text in the input box.

  2. Watch the Base64 result update instantly — nothing is uploaded.

  3. Use Convert to to switch between Encode and Decode. Your input is kept.

  4. Copy the result, or use it as the next input.

When should you use it?

  • Transport

    Turn text into ASCII that survives email, JSON, and copy-paste.

  • Data URLs

    Embed small payloads in CSS, HTML, or markdown without a separate file.

  • Tokens

    Inspect or build Base64 segments used in JWTs and API credentials.

  • Not encryption

    Do not treat Base64 as a way to hide passwords or API keys.

Your text stays private.

Base64 encoding and decoding run entirely in your browser. Text and tokens are never uploaded.

Learn more about privacy →

About Base64 in the browser

Base64 maps bytes to an ASCII alphabet so binary can travel through systems that expect text. Toolora encodes UTF-8 text. hello becomes aGVsbG8=. Decode reverses it. Padding with = matters; truncated input fails. This is not encryption — anyone can decode. Do not hide passwords in Base64.

Worked example: a small JSON object encodes to a single line you can paste into a data URL or a config. International characters need UTF-8; Latin-1 mistakes show as garbage on decode.

Image Base64 is a sibling when the input is a file. JWT Decoder is Base64URL, a related alphabet with URL-safe characters. Related: URL Encode, Hex Encode, Hash Generator. Nothing is uploaded. Convert to keeps input between encode and decode.

Related encoding tools

Base64 Encode examples

ASCII

Input
hello
Output
aGVsbG8=

Brand name

Input
Toolora
Output
VG9vbG9yYQ==

Unicode

Input
café
Output
Y2Fmw6k=

Encode vs decode

ActionExampleTypical use
EncodeaGVsbG8=Data URLs, tokens, and binary-safe ASCII transport
DecodehelloRestore UTF-8 text from a Base64 string

Base64 Encode FAQ

Base64 converts binary or text data into a safe ASCII string. It is commonly used in data URLs, tokens, and transfer formats.

No. Base64 is encoding, not encryption. Anyone can decode it. Do not use it to hide secrets.

Yes. The Base64 Encode tool uses UTF-8 so characters beyond plain ASCII are handled correctly.