Base64 Encoder
Encode any text or string to Base64 instantly in your browser. Free online Base64 encoder with UTF-8 support, no data ever leaves your device.
Enter the values below, then press Calculate (or press Enter). The calculator updates your results instantly. Try different values to see how your inputs change the outcome.
- Text to encode — enter a value. A typical Text to encode would be Type or paste text to encode to Base64….
- Review your results — the key output is highlighted, with supporting figures below.
Loading calculator…
Results
| Detail | Value |
|---|---|
| Input length | |
| Encoded length |
What is this calculator for?
Encode plain text into Base64 — a text representation of binary data useful for embedding small blobs in JSON, XML, or data URLs.
How to Use This Calculator
Enter the values below, then press Calculate (or press Enter). The calculator updates your results instantly. Try different values to see how your inputs change the outcome.
- Text to encode — enter a value. A typical Text to encode would be Type or paste text to encode to Base64….
- Review your results — the key output is highlighted, with supporting figures below.
What You'll Need
- Text to encode
- a value · required
About This Calculator
This Base64 encoder converts any text into its Base64 representation entirely in your browser — nothing is sent to a server.
Base64 uses 64 printable characters (A–Z, a–z, 0–9, +, /) to represent binary data as ASCII text. It is widely used when binary data must survive text-only channels, such as JSON payloads, XML, URLs, or email. The encoder pads the output with = characters so the length is a multiple of 4.
UTF-8 is fully supported, so emoji and international characters encode correctly. To get your text back, feed the output into our companion Base64 decoder.