UTF-8, not Latin-1 assumptions
Text is converted with Web Platform UTF-8 APIs, so accents, CJK characters and emoji round-trip correctly.
Encode and decode UTF-8 text locally with strict standard Base64 and Base64URL validation.
Encoding, decoding and validation happen entirely in this browser. No payload is sent to a Devary server.
Enter UTF-8 text to encode.
Encoded text using the selected alphabet and padding policy.
Base64 is reversible encoding. Never rely on it to protect credentials, tokens or confidential data.
Text is converted with Web Platform UTF-8 APIs, so accents, CJK characters and emoji round-trip correctly.
Base64 only changes how bytes are represented. It does not hide, encrypt or protect secrets.
Practical guide
Base64 Studio converts UTF-8 text to Base64 or Base64URL locally. Follow three reproducible workflows, understand strict validation, and learn where encoding differs from encryption.
Use Encode for plain text and Decode for an encoded string. Select Standard Base64 or Base64URL to match the system you are integrating.
Standard uses + and /; Base64URL uses - and _. During encoding, decide whether to retain the final = padding. Decoding accepts missing trailing padding.
Run the operation and check the result and byte counts. Wrong alphabets, impossible lengths, malformed padding and non-UTF-8 decoded bytes produce an error.
Choose Encode, Standard Base64 and Include padding. Unicode text becomes UTF-8 bytes before being represented in Base64.
Encode · Standard Base64 · Include paddingCafé 🚀Q2Fmw6kg8J+agA==Choose Encode and Base64URL, then omit padding. Unlike standard Base64, the resulting alphabet avoids + and /.
Encode · Base64URL · Omit paddingÿÿw7_DvwChoose Decode and Standard Base64. The codec restores valid omitted padding; it does not ignore embedded spaces or malformed input.
Decode · Standard Base64aGVsbG8helloAnyone can decode a Base64 value. Do not use it to protect passwords, access tokens or sensitive data.
This tool decodes bytes as UTF-8 text. Encoded binary data that is not valid UTF-8 cannot be displayed as decoded text here.
The standard and URL-safe alphabets are separate. Embedded whitespace and characters from the other alphabet are rejected.
Missing trailing = is normalized on decoding; extra, misplaced or inconsistent = characters cause an error.
No. Base64 is reversible encoding, not encryption or hashing. Use a suitable password-hashing scheme instead.
Choose Base64URL when a specification requires a URL-safe alphabet, for example for encoded segments of a JWT. It is not automatically a valid full URL.
The selected alphabet, padding and encoded length must be consistent, and the decoded bytes must be valid UTF-8. Whitespace is not silently discarded.