Base64 Encoder & Decoder

Encode text to Base64 or decode Base64 strings back to plain text — instantly in your browser.

Plain Text
Ready
Base64
Ad space — replace with Google AdSense code

How to Encode to Base64

Select the Encode tab, paste or type your plain text into the left box, and the Base64-encoded output appears instantly on the right. You can copy the result with one click.

How to Decode Base64

Select the Decode tab, paste your Base64 string into the left box, and the decoded plain text appears on the right. The tool validates the input and shows an error if the string is not valid Base64.

What Is Base64?

Base64 is an encoding scheme that represents binary data as ASCII text. It is commonly used to:

URL-Safe Base64

Standard Base64 uses + and / characters which have special meanings in URLs. URL-safe Base64 replaces these with - and _ respectively, making the output safe to use in URLs and filenames without additional encoding.

Privacy

All encoding and decoding happens locally in your browser using JavaScript. Your data is never sent to any server.