Base64 Encoder/Decoder
Encode and decode Base64 strings online for free. Convert text, images, or files to Base64 format instantly in your browser.
Encode UTF-8 text or local file bytes as Base64; decode Base64 to UTF-8 text.
Decode requires a strict alphabet and canonical padding/bits. Non-UTF-8 binary output is refused instead of replaced with broken text. File cap: 10 MiB. Encode text: 1,000,000 characters; decode Base64: 14,164,976 characters; local files: 10 MiB. Base64 is reversible encoding, not encryption.
Method and limits
Method and limits
Standard mode uses padding; URL-safe mode uses - and _ without padding. Optional output wrapping uses 76 characters. File encoding retains the actual bytes when options change.
Standard mode uses padding; URL-safe mode uses - and _ without padding. Optional output wrapping uses 76 characters. File encoding retains the actual bytes when options change.
Decode requires a strict alphabet and canonical padding/bits. Non-UTF-8 binary output is refused instead of replaced with broken text. File cap: 10 MiB. Encode text: 1,000,000 characters; decode Base64: 14,164,976 characters; local files: 10 MiB. Base64 is reversible encoding, not encryption.
Processing happens in this browser; these converters do not upload your draft. Other site features can make requests.
Working…
Options
Copied
Copy failed. Select the result and copy it manually.
About Base64 Encoder/Decoder
Encode UTF-8 text or local file bytes as Base64; decode Base64 to UTF-8 text. Standard mode uses padding; URL-safe mode uses - and _ without padding. Optional output wrapping uses 76 characters. File encoding retains the actual bytes when options change.
Hello → SGVsbG8= → Hello; 😀 → 8J+YgA== → 😀
Decode requires a strict alphabet and canonical padding/bits. Non-UTF-8 binary output is refused instead of replaced with broken text. File cap: 10 MiB. Encode text: 1,000,000 characters; decode Base64: 14,164,976 characters; local files: 10 MiB. Base64 is reversible encoding, not encryption.
Use Cases
How to use
Choose the mode and enter a draft; inspect the result before copying or downloading.
Standard mode uses padding; URL-safe mode uses - and _ without padding. Optional output wrapping uses 76 characters. File encoding retains the actual bytes when options change.
Pro Tips
- Decode requires a strict alphabet and canonical padding/bits. Non-UTF-8 binary output is refused instead of replaced with broken text. File cap: 10 MiB. Encode text: 1,000,000 characters; decode Base64: 14,164,976 characters; local files: 10 MiB. Base64 is reversible encoding, not encryption.
Frequently Asked Questions
Standard mode uses padding; URL-safe mode uses - and _ without padding. Optional output wrapping uses 76 characters. File encoding retains the actual bytes when options change.
Decode requires a strict alphabet and canonical padding/bits. Non-UTF-8 binary output is refused instead of replaced with broken text. File cap: 10 MiB. Encode text: 1,000,000 characters; decode Base64: 14,164,976 characters; local files: 10 MiB. Base64 is reversible encoding, not encryption.