Base64 encoder & decoder
Convert Base64 text and files online. Supports UTF-8, emoji, Base64URL and line-by-line batches. Free to use in your browser without signing in.
Base64 converter
Processed in your browserText: up to 2 MB. Encoding uses UTF-8.
How to use
- 1
Choose encode or decode
Choose Encode to turn plain text or a file into Base64, or Decode to restore Base64 content. Text supports up to 2 MB; files support up to 10 MB.
- 2
Add content and choose a format
Paste text or select a local file. Decoding accepts Base64URL, wrapped lines and Base64 Data URLs. Enable per-line processing for separate text entries.
- 3
Convert and save
Convert, then copy all or download the result. Download binary results to preserve the original bytes, or use a text result as input for the reverse operation.
Frequently asked questions
Is Base64 encryption?
No. Base64 is reversible encoding and does not protect passwords or other sensitive information. Common uses include API payloads, file transport and image Data URLs.
How is this different from the 2FA tool?
Base64 converts text and files. The 2FA tool uses a Base32 secret and the current time to generate login codes. They serve different purposes.
Are Base64URL, wrapped lines and Unicode supported?
Yes. Decoding accepts URL-safe - and _, optional = padding and wrapped continuous input. Encoding uses UTF-8. Decoding also offers GB18030 and Windows-1252.
Why is my result binary?
Images, archives and other binary data may not display as text. Download the result to keep the original bytes. For text, select the correct decode charset. Files are never executed or previewed automatically.
Is my input uploaded or saved?
Conversion runs in your browser. Your text and files are not uploaded or written to browser storage. Clearing the form or leaving the page clears its input and results.