Base64 text encoder / decoder

Base64 text encoder / decoder: use text or padded base64, operation. Review the formula, worked example and calculation steps.

Inputs

Use the units shown
RESULT
—

Enter your values and select Calculate.

Formula & explanation
UTF-8 bytes ↔ standard Base64 groups of 6 bits

Variables & units

Text or padded Base64
Text input
Operation
Select an option

Worked example

Hello encodes as SGVsbG8=.

Assumptions

Base64 is an encoding, not encryption. This tool handles UTF-8 text and standard padded Base64, not binary files or base64url. Input and output are not added to automatic history.

Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.

Calculated on your device. Automatic history is disabled for these inputs.