Base64 splits bytes into 6-bit groups and writes each group as A–Z, a–z, 0–9, + or /. The encoded string is about one third longer than the UTF-8 bytes. This page does that mapping in the current tab: type on the left and Base64 updates, or paste Base64 on the right to rebuild the text. FlashKit does not upload the string.
“Hello World” encodes to SGVsbG8gV29ybGQ=. That uses the standard alphabet and ends with = because the byte length is not a multiple of three. Padding with = brings the output to a multiple of four characters. Non-ASCII text is first encoded as UTF-8 (é is two bytes, then Base64), not as a Unicode code-point dump.
A URL-safe variant replaces + and / with - and _ so the string can sit in a query. This widget encodes and decodes the original +/ alphabet only — paste URL-safe Base64 and it will not round-trip. For decimal ↔ binary ↔ hex numbers, use the binary converter.
How to encode or decode Base64
- Type or paste UTF-8 text on the left. Base64 appears on the right.
- Or paste a Base64 string on the right (A–Z, a–z, 0–9, +, /, =) to rebuild text.
- Copy either box. Close the tab when you are done — nothing is stored.
Key Features
- UTF-8 text ↔ standard Base64 in this browser tab
- Copy buttons on both boxes
- Clear error on invalid Base64
- No file upload, no URL-safe alphabet, and no binary-number mode
Frequently Asked Questions
What alphabet does this encoder use?
The standard Base64 alphabet: A–Z, a–z, 0–9, +, / and = padding. It does not encode or decode the URL-safe -/_ variant.
Why is there an equals sign at the end?
Padding. Base64 emits four characters per three bytes. When the UTF-8 length is not a multiple of three, = fills the last group so the string length is a multiple of four.
How are non-English letters encoded?
The text is first turned into UTF-8 bytes, then those bytes are Base64-encoded. é is C3 A9 in UTF-8, which becomes w6k= — not a hex code point.
Is this a binary number converter?
No. It encodes text as Base64. For numbers, open the binary converter.
Is my text uploaded?
No. Encoding uses this tab only. Refreshing restores the sample.