About online online Base64 encode and decode
hidevtool Base64 converts UTF-8 text to Base64 and back—common for HTTP Basic auth strings, data URLs, and config blobs.
Encoding and decoding run in your browser; paste either plain text or a Base64 string and copy the result.
Online Base64 encode & decode capabilities
UTF-8 to Base64
Encode turns Unicode text into standard Base64 using the browser btoa pipeline with UTF-8 byte conversion.
Base64 to text
Decode accepts standard Base64 (including URL-safe padding) and restores the original UTF-8 string when valid.
Common use cases
How do I encode text to Base64 online?
Paste UTF-8 text and click Encode. The output is standard Base64 ready to copy into headers, JSON fields, or data URLs.
How do I decode a Base64 string to text?
Paste the Base64 payload and click Decode. Invalid characters or padding show an error instead of garbled text.
Does this support Unicode and emoji?
Yes. Text is converted through UTF-8 bytes before encoding, so Chinese characters and emoji round-trip when decoding valid Base64.
Frequently asked questions
- How do I encode text to Base64 online?
- Paste UTF-8 text and click Encode. The output is standard Base64 ready to copy into headers, JSON fields, or data URLs.
- How do I decode a Base64 string to text?
- Paste the Base64 payload and click Decode. Invalid characters or padding show an error instead of garbled text.
- Does this support Unicode and emoji?
- Yes. Text is converted through UTF-8 bytes before encoding, so Chinese characters and emoji round-trip when decoding valid Base64.