Encode text as Base64

Base64 writes any text with plain letters and numbers. It is used in email, JSON, tokens and code. Paste your text and copy the result. Your text never leaves your browser.

Stays on your device Free
1. Your text

Paste text, a token or a small config value. The result updates as you type.

Local only
Format
URL safe swaps plus and slash for dashes and underscores.
Line length Useful for email and old systems.
Your text
0 characters
Base64

This runs in your browser. Your file is not sent to us.

How to use base64 encoder

  1. Paste your text. Type or paste the text you want to encode.
  2. Pick a format. Choose standard Base64 or a URL safe version.
  3. Copy the result. Copy it to your clipboard or save a text file.

What you get

  • Accepts accents, symbols and emoji
  • Uses UTF-8 so other languages work
  • Copy or download the result
  • No upload and no account

Why this runs in your browser

Most free PDF sites ask you to upload your file. Then you wait. Then you hope they delete their copy. That is a bad deal for a payslip, a contract or a passport scan.

Base64 Encoder reads the file on your device and saves the result to your downloads folder. There is no upload and no copy on a server. For the details, see how it works.

Base64 Encoder questions

What is Base64?

Base64 rewrites data with 64 plain characters. It keeps text safe in systems that only accept simple letters and numbers.

Does Base64 hide my text?

No. Base64 is not encryption. Anyone can decode it. Use a hash or a password tool when you need secrecy.

Why does the result end with equals signs?

Base64 works in blocks of four characters. One or two equals signs fill the last block.

Will emoji and accents still work?

Yes. The tool reads your text as UTF-8 and keeps every character in one piece.

Is my text uploaded?

No. Your browser does all the work and the text stays on your device.