Base64 encoder / decoder
Encode and decode Base64 text with optional URL-safe characters and padding removal. Handles UTF-8 correctly and runs entirely in the browser.
0 characters
Output
—// About this tool
Convert text to Base64 for APIs, tokens, or data URLs, and decode it back. Options for URL-safe output and omitted padding match common encoding requirements.
// How to use it
- Choose encode or decode.
- Paste the text or Base64 string.
- Enable URL-safe or padding options if needed.
// Frequently asked questions
Does it support Unicode?
Yes. Text is encoded as UTF-8 before Base64 conversion, so Chinese and emoji work.
Is my text uploaded?
No. Encoding and decoding happen locally in your browser.