Base64 Encoder / Decoder

Results
—
—

Base64 encoder/decoder handles any text or Base64 data. Supports Unicode (UTF-8) for international characters. Copy results instantly.

Formula
Encoding: each 3 bytes → 4 Base64 chars. Decoding: each 4 Base64 chars → 3 bytes.

FAQ

What is Base64 used for?
Encoding binary data as text for email attachments, JSON web tokens, data URIs, and embedding images in HTML/CSS.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. About MateCalc.

Related Calculators