Base64 encode and decode
Encode UTF-8 text as standard or URL-safe Base64 and validate decoded text.
Get started
- Use the example values or enter your own measurements.
- Calculate, then copy the result or download the available details.
Example
Input
Encode helloExpected result
aGVsbG8=Good to know
The calculation runs in your browser. Use consistent units in fields with no explicit unit.
Calculation method
Text is converted as UTF-8. URL-safe mode uses "-" and "_" and omits padding in output. Up to 500,000 input characters.