🔣

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.

Embed this tool on your website

Use whole pixel dimensions from 1 to 4096.

× px (1–4096)

                        

💡 Integration Tip

Copy the embed code and paste it into your website HTML. The responsive version adapts to all screen sizes automatically.

3.8
4 ratings
✓

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

Encode UTF-8 text or local file bytes as Base64; decode Base64 to UTF-8 text.
Hello → SGVsbG8= → Hello; 😀 → 8J+YgA== → 😀

How to use

1

Choose the mode and enter a draft; inspect the result before copying or downloading.

2

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.

Popular Tools

No more tools to show
Explore All Tools
FreeWebTools AI
Powered by free AI models · Full chat →