Base64 Encoder & Decoder
Encode and decode text and binary files to Base64 online for free. Supports UTF-8 strings, data URLs, and images. 100% client-side.
Encode plain text and binary files into Base64 format, or decode Base64 strings back to readable text or downloadable files. Features full UTF-8 international character support and live preview.
How to use
- Select whether you want to "Encode" plaintext to Base64 or "Decode" Base64 back to plaintext.
- Type or paste your data into the input field, or drag and drop a small file.
- Enable "URL-Safe" toggle if you plan to transmit the output in query parameters.
- Click "Copy" to immediately grab the converted output.
Frequently asked questions
Does this handle non-ASCII characters like emojis and Asian languages?
Yes! Our algorithm utilizes full UTF-8 byte stream conversion so Chinese, Japanese, Korean, Arabic, and emojis encode and decode without corruption.
What is URL-Safe Base64?
Standard Base64 uses "+" and "/", which require percentage encoding in URLs. URL-Safe replaces them with "-" and "_" and removes trailing "=" padding.
Are files or text uploaded to a server?
Never. All operations happen in-memory inside your local web browser.