ApplyAI ToolsRuns on your device

Base64 encoder and decoder

Encode and decode UTF-8 text as Base64 or Base64url. Supports Unicode, Chinese and emoji, with local processing, copy and text download.

Input

Input format
Base64 alphabet

Choose encode or decode and an alphabet, paste text and convert. Standard Base64 includes padding; URL-safe output uses - and _ and omits padding. Copy or download the result as a text file.

Result

Runs on your device

Your result will appear here.

How to use this tool

Choose encode or decode and an alphabet, paste text and convert. Standard Base64 includes padding; URL-safe output uses - and _ and omits padding. Copy or download the result as a text file.

Public example

Hello → SGVsbG8=
你好 → 5L2g5aW9
Is Base64 encryption? Can I decode binary files?

Base64 is reversible encoding, not encryption. This tool handles UTF-8 text only. Decoding accepts optional padding and ASCII spaces or line breaks, but rejects mixed alphabets, misplaced padding and non-zero pad bits. Invalid UTF-8 is rejected instead of silently changing text.

Does my input leave this browser?

Conversion runs locally. These tools do not save inputs or send them to a conversion API. Site analytics record actions, not entered content; advertising follows the privacy policy.

Standards and references

RFC 4648 · Base64

Read this page as Markdown