DevFmt/

Base64 Encode

Input — Text
Output — Base64

How to use Base64 Encode

Base64 Encoder converts text to Base64 encoding instantly in your browser. Supports standard Base64 and URL-safe Base64 variants.

Paste text into the input panel and the encoded output appears in real-time. Toggle URL-safe mode to produce output suitable for URLs, filenames, and query parameters — it replaces + with -, / with _, and strips trailing = padding.

Key features: standard and URL-safe Base64 encoding, full UTF-8 support (emojis, international characters), file upload, one-click copy, and download.

All encoding runs locally in your browser. Your data is never sent to any server.

FAQ

How do I encode text to Base64?
Paste or type text into the input panel. The Base64-encoded output appears instantly. Toggle 'URL-safe' mode for URL-safe Base64 encoding that replaces + with - and / with _.
What is URL-safe Base64?
URL-safe Base64 replaces + with -, / with _, and removes trailing = padding. This makes the output safe for use in URLs, filenames, and query parameters without additional encoding.
Does it support UTF-8?
Yes. The encoder handles full UTF-8 text including emojis, CJK characters, and accented letters.

Related tools

We use cookies for anonymous analytics and ads. Your tool data never leaves your browser.