Encode text, decode Base64 strings, or turn files into data URLs — all in your browser. Nothing gets uploaded anywhere.

Input
Empty
Click to Upload Image

PNG, JPG, WebP, SVG supported.

Output

Paste Base64 or plain text on the left to see the result here.

Analysis
0 B
Input Size
0 B
Output Size
0
Characters
0
Lines
Mode Encode
Status Empty
Detected Type None

What you can do with this tool

No sign-up, no uploads, no nonsense. Just Base64 encoding and decoding that works.

Text to Base64

Paste any text and get the encoded output instantly.

File Upload

Drop a file to get its Base64 data URL with correct MIME type.

Image Preview

Decoding an image? You'll see a live preview right here.

Fully Offline

Everything happens in your browser. Zero server calls.

Plain Text to Base64 Encoding

Encode text into an ASCII-safe Base64 value for systems that accept text-only transport. This is useful for API payloads, headers, configuration values, and test data.

How to encode text

  1. Enter or paste UTF-8 text.
  2. Keep Encode mode selected.
  3. Copy the generated result.

About this tool

Everything runs securely in your browser. Your text, files, and encoded output never hit a server — there's no backend processing involved at all. This makes it safe to use with API keys, tokens, certificates, or any other sensitive data you'd rather not paste into a random website.

Frequently Asked Questions

What does a Base64 text encoder do?

It converts text bytes into an ASCII string using the Base64 alphabet.

Does Base64 encoding encrypt text?

No. Base64 is reversible encoding, not encryption.