Base64 encoder & decoder
Encode and decode UTF-8 text with standard Base64 or Base64url. Preserve emoji and non-ASCII characters, validate input, and copy the result. Free.
Encode text without breaking its characters.
Inspect encoded text in an API response or prepare a URL-safe value for a development workflow. Choose the correct alphabet and keep the difference between encoding and encryption clear.
Free to use. No signup. Output: Base64 + decoded text.
How to use Base64 encoder & decoder
- Choose encode or decode and the Base64 alphabet.
- Paste UTF-8 text or an encoded text value.
- Convert, inspect the result, and copy or download it.
Worked example: Round-trip a greeting with an emoji
Base64url produces SGVsbG8g8J-MjSE instead. Select the same alphabet when decoding. Encoded data is not secret.
- Example input
Action: Encode text Alphabet: Standard Base64 Text: Hello 🌍!
- Expected output
SGVsbG8g8J+MjSE=

Questions, answered
Can I decode a binary file here?
This tool works with UTF-8 text. Decoded bytes that are not valid UTF-8 produce an error rather than corrupted text. File or image conversion is outside this tool’s scope.
Why does one Base64 string use - and _?
Base64url replaces the standard + and / characters with - and _. This tool omits Base64url padding when encoding; decoding accepts omitted padding and ignores spaces, tabs and line breaks. Input is limited to 100,000 characters.
Keep building
Ready for feedback on your project?
Share what you are building with the VibeCodingList community.