Encoders

Base64 Encoder / Decoder

Encode or decode Base64 strings

Input
1:00 Bytes
Output
1:00 Bytes

Features

Base64 Encode

Converts plain text or binary data to a Base64-encoded string

Base64 Decode

Decodes a Base64 string back to its original plain text

Switch Input / Output

Swap editor contents with a single click

Privacy First

All encoding and decoding happens locally — no data is sent

What Base64 is for

Base64 is an encoding scheme that turns binary data into a string of plain ASCII characters. The reason it exists is practical: some protocols and formats (email, JSON, XML, CSS) were designed to carry text, not arbitrary bytes. If you need to embed an image, a PDF, or any binary file inside a text-based format, Base64 is how you do it.

You'll also see it used for basic obfuscation in HTTP Basic Auth headers and JWTs — though it's important to note that Base64 is not encryption. Anyone can decode it.

Encode and decode

Paste text or a Base64 string into the input editor and click Encode or Decode. The Switch button swaps the editors if you want to round-trip the conversion. Everything runs in your browser — no data is sent anywhere.