Boneyard Tools

Base64 Encode

Paste any text to encode it to Base64 instantly. Encoding is UTF-8 safe, so emoji and accented characters work, and you can switch to URL-safe output. Everything runs in your browser.

How to encode text to Base64

  1. Paste or type the text you want to encode.
  2. Tick URL-safe if you need the result for a URL, filename or JWT.
  3. Copy the Base64 output or download it as a text file.

Examples

Encode a simple string

hello
aGVsbG8=

URL-safe output

>>>?
Pj4-Pw

Frequently asked questions

What is Base64?

Base64 is a way to represent binary or text data using 64 printable ASCII characters. It is used to embed data in JSON, data URLs, email and HTML where raw bytes are not safe.

Is Base64 encryption?

No. Base64 is encoding, not encryption. Anyone can decode it back to the original text, so never use it to protect passwords or secrets.

What is URL-safe Base64?

URL-safe Base64 (base64url) replaces the + and / characters with - and _ and removes the = padding, so the result is safe to drop into URLs, filenames and JWT segments.

Does it handle emoji and accented characters?

Yes. Text is encoded as UTF-8 first, so emoji, accents and other multi-byte characters encode correctly and decode back to the exact original.

Is my text private?

Yes. Encoding happens entirely in your browser, so your text is never uploaded to a server.

How do I decode it back?

Use a Base64 decoder to reverse the process. The plain output here is standard Base64 that any decoder accepts.

Related tools