Base64 encoder & decoder Online
Encode text to Base64 or decode Base64 to text and bytes in your browser. Supports Unicode, Base64URL, line wrapping and file tools. No signup required.
Add your input, adjust the options and run the tool.
What is Base64?
Base64 represents binary bytes as printable text. It is used in email attachments, JSON payloads and Data URIs. Three input bytes normally become four characters; padding uses =. Encoding is reversible and does not encrypt a password or secret.
Hello → SGVsbG8=
Standard Base64 or Base64URL?
Standard Base64 uses + and /. Base64URL replaces them with - and _, which is useful in URLs and tokens. Padding requirements depend on the receiving system. Select the alphabet and character encoding your destination expects. Base64URL Encoder & Decoder
Encoding standards: RFC 4648 §4 — Base64 · RFC 4648 §5 — Base64URL
Choose text, image or file conversion
Use the workbench above for text. Choose a dedicated image or file tool to preserve binary bytes, preview supported images or download the recovered file. Decoding an image as UTF-8 text does not produce an image file.
How to use this tool
Add your input
Paste text or choose a file. Try the example to get started.
Choose your options
Convert text and bytes with Unicode support, explicit diagnostics and complete control over your output.
Inspect and export
Review the processing notes, then copy or download the result. Continue with another tool if needed.