What is the Universal Text Encoder & Decoder?
A single tool for converting text between more than a dozen encodings — Base64, Base64URL, Base32, URL percent-encoding, hex, binary, octal, decimal, HTML entities, Morse code, ROT13, quoted-printable, and SAML's deflate+Base64 scheme.
How it works
Each format has its own encode/decode routine: the common ones use browser built-ins (TextEncoder/TextDecoder, btoa/atob, encodeURIComponent/decodeURIComponent), while Base32 and quoted-printable are implemented by hand with bit-shifting over the byte array. SAML mode pipes the text through the browser's CompressionStream/DecompressionStream using raw deflate before Base64-encoding it, matching how SAML redirect bindings compress request XML.
SysAdmin & security use cases
- Decode a Base64 value found in a cookie or query string to see its actual contents.
- Percent-encode a string safely before appending it to a URL.
- Decompress and decode a SAML AuthnRequest or Response captured from an SSO redirect.
- Convert text to ROT13 or Morse code for a quick obfuscation exercise or puzzle.