Base64 Encoder
Encode or decode text to/from Base64, UTF-8 safe.
Text
Base64 output
About the Base64 Encoder
Convert any text to Base64 or decode Base64 back to readable text. Handles full UTF-8 input correctly and supports the URL-safe Base64 variant (- and _ instead of + and /) used in tokens and URLs.
Examples
Encode text
Hello, world!Output
SGVsbG8sIHdvcmxkIQ==Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Base32 Encoder
Encoders & Crypto
Encode or decode text using RFC 4648 Base32.
HTML Entity Encoder
Encoders & Crypto
Encode or decode HTML entities in text.
URL Encoder
Encoders & Crypto
Encode or decode strings using encodeURIComponent/encodeURI.
Basic Auth Header Generator
Encoders & Crypto
Build or decode an HTTP Basic Authorization header.
JWT Decoder
Encoders & Crypto
Decode a JWT's header and payload, and check expiry.
File Base64 Encoder/Decoder
Encoders & Crypto
Convert any file to a Base64 data URI, or decode Base64 back to a file.
Frequently asked questions
Read more
- Base64 encoding explained: when to use it, when not to
Base64 turns binary into text-safe ASCII, but it isn't compression or encryption. Here's what it actually does and where it fits.
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser