Text conversions
Encode or decode UTF-8 as Base64, Base64URL, hex, or URL components.
Encode and decode
Open Base64, Hex, or URL. Select the format and operation, provide input, and convert. The Base64 tool also supports Base64URL.
Encoding starts with exact UTF-8 text. Decoding must produce valid UTF-8; these are text tools, not arbitrary binary viewers. Empty input and empty output are valid and remain distinct from a result that has not been produced.
Format rules
- Base64: standard alphabet and canonical encoding; malformed input is rejected.
- Base64URL: URL-safe alphabet; canonical unpadded output.
- Hex: byte pairs; odd-length or non-hex input is rejected.
- URL: percent-encoded components, not an entire URL or form body.
+stays literal and is not treated as a space.
The converters do not trim input, silently repair malformed encodings, or normalize Unicode. Encoding is not encryption.
Limits
Text to encode and decoded output are limited to 1 MiB. Encoded input is limited to 3 MiB. UTF-8 counters show actual byte usage. Errors do not retain an old result as if conversion had succeeded.
Example
Encoding Hello as Base64 produces SGVsbG8=. Decoding it produces Hello.