Base64 Encoder
Encode text or UTF-8 data as Base64, including URL-safe output.
Input
This tool runs entirely in your browser. The data you paste or load is never uploaded.
Result
Enter your input, then run the tool.
About this tool
Converts plain text into Base64 using the browser’s UTF-8 aware encoder, so accents and emoji survive the round trip. The URL-safe option swaps plus and slash for characters that are safe inside query strings and filenames.
How to use it
- Type or paste the text to encode.
- Enable URL-safe output if the value will sit in a URL or JWT.
- Encode, then copy the Base64 string.
Frequently asked questions
Is Base64 encryption?
No. It is a reversible encoding with no key. Anyone can decode it, so never use it to protect a password or a secret.
Why do some Base64 strings end with =?
Padding makes the encoded length a multiple of four. URL-safe encoders often drop it; both forms decode to the same bytes.
Keep going
Related tools
Base64 Decoder
Decode Base64 back to readable text.
URL Encoder
Percent-encode text for URLs and query strings.
Image to Base64 Converter
Embed an image in HTML or CSS as a data URI.
JWT Decoder
Inspect the header and claims of a JSON Web Token.
JSON Formatter
Pretty-print compact or broken JSON with a readable indentation.
JSON Validator
Check JSON syntax and see exactly where it breaks.