Encode text to Base64
Encode text to Base64 directly in your browser, with full UTF-8 support.
Processed on your device. Nothing is sent to any server.
Encode any text to Base64 directly in your browser, with full support for UTF-8 characters.
Converts the text to UTF-8 bytes and encodes them in Base64, the standard format for representing binary data as safe ASCII text.
Use cases
- Encoding credentials for a basic authentication header.
- Preparing text to embed in a JSON or XML.
- Generating Base64 test data for an API.
How it works
- 1
Type your text
Type or paste the text you want to encode.
- 2
Encode it
Click Encode and copy the result.
Frequently asked questions
- Does it work with accented and special characters?
- Yes, the text is first encoded to UTF-8 before converting it to Base64, so special characters encode and decode correctly.