Calculate & Convert

Base64 Encode / Decode

Encode text to Base64 or decode it back.

Enter values

The formula

maps every 3 bytes of input to 4 Base64 characters

Base64 re-packages binary data as plain text by regrouping every 3 bytes into four 6-bit chunks, each mapped to a safe character. It exists so binary survives text-only channels like email and URLs. It is emphatically not encryption — anyone can decode it instantly.

All calculations run locally in your browser and update instantly as you type.

Example calculations

Common questions this calculator answers — select one to load its values.

Related calculators

Frequently asked questions

Is Base64 encryption?+
No. Base64 is encoding, not encryption — anyone can decode it. It is used to safely carry binary data in text formats.
All calculations run locally in your browser. Nothing you type is sent to a server.