Data Transformer

Chain decoding steps into a recipe, or let Unwrap peel every layer
Paste an encoded blob and press 🧅 Unwrap: it finds the layers (Base64, hex, URL encoding, gzip, zlib, deflate, HTML entities, JWTs, a PowerShell -EncodedCommand, a Basic auth header or a SAML request) and offers the steps to peel them. Or build a recipe yourself from 60 steps: check a download’s MD5, SHA-256 or CRC32, check a webhook signature, read Active Directory times, turn YAML or CSV into JSON, filter and count log lines, and pull out or defang IPs and URLs. Each step works on the one before it and shows its own result. Save recipes in this browser, or share them as a link that carries the steps and never your text.
RUNS ENTIRELY IN YOUR BROWSER · WHAT YOU PASTE IS NEVER SENT OR SAVED

Recipe

Ready-made:

    No steps yet. Paste something and press 🧅 Unwrap, pick a ready-made recipe, or add steps from the box above. Each step works on the result of the one before.

    Output

    
        

      Peel layers of encoding, one step at a time

      Data that sysadmins handle is often wrapped several times: a Helm release is Base64 inside Base64 around gzip, and a SAML redirect is URL-encoded Base64 around deflate. Build a recipe of steps, each showing its own result, or paste and press Unwrap to have the layers found for you. The same recipes check downloads and webhook signatures, read Active Directory times, turn YAML and CSV into JSON, and filter, count and defang log lines. Nothing leaves your browser.

      Common questions

      How do I decode a Helm release secret?

      Helm 3 keeps each release in a Secret named sh.helm.release.v1.NAME.vN. Get its value with kubectl get secret sh.helm.release.v1.web.v7 -n prod -o jsonpath='{.data.release}' and paste it here with the Helm release secret recipe: From Base64 twice (Kubernetes’ layer, then Helm’s), Gunzip, then Format JSON. On the command line the same is … | base64 -d | base64 -d | gunzip.

      What does Unwrap do?

      It tries the usual decodes on your text (Base64 and Base64URL, hex, URL encoding, gzip, zlib, raw deflate, HTML entities and JWT), keeps only those that give readable text, JSON or a known file type, and repeats up to five layers. It also finds the encoded part of a PowerShell -EncodedCommand, an Authorization: Basic header and a SAMLRequest= link. Then it offers the steps it found, with a preview; your recipe only changes when you press Add. Plain text such as a log line, a hash or a UUID gets no suggestion.

      How do I decode a PowerShell -EncodedCommand?

      The value after -EncodedCommand (or -enc, -ec, -e) is the script in Base64, written as UTF-16LE text, which is why a plain Base64 decoder shows a gap between every letter. In PowerShell, [Text.Encoding]::Unicode.GetString([Convert]::FromBase64String('…')) decodes it; on Linux, echo '…' | base64 -d | iconv -f UTF-16LE -t UTF-8. Here, paste the whole command line and press Unwrap, or use the PowerShell encoded command recipe. Nothing is run. Attackers use this to hide what a script does, so read it before you trust it.

      How do I turn lastLogonTimestamp into a date?

      Active Directory stores it, like pwdLastSet and accountExpires, as a Windows FILETIME: the number of 100-nanosecond steps since 1 January 1601 UTC, 18 digits long. In PowerShell, [DateTime]::FromFileTimeUtc(134396424000000000) gives the date, and Get-ADUser NAME -Properties LastLogonDate shows it already converted. Here, paste the attributes with the Active Directory timestamps recipe: every FILETIME and LDAP time (such as whenChanged) in the text becomes a date, and accountExpires of 0 or 9223372036854775807 shows as never. lastLogonTimestamp can be up to 14 days behind the real last sign-in.

      How do I decode a Kubernetes Secret?

      kubectl get secret NAME -o yaml shows every value Base64-encoded. Paste the whole output with the Kubernetes Secret values recipe to see each one decoded, or decode one value with kubectl get secret NAME -o jsonpath='{.data.password}' | base64 -d. Base64 isn’t encryption: anyone who can read the Secret can read its values.

      How do I convert a Unix timestamp to a date?

      A Unix (epoch) timestamp counts the seconds since 1 January 1970 UTC. On Linux use date -d @1700000000, and on macOS date -r 1700000000. A 13-digit value is in milliseconds. To make every timestamp in a log readable at once, use the Epoch times in a log recipe.

      How do I check a file’s MD5 or SHA-256 without installing anything?

      Every system already has a tool: sha256sum file.iso and md5sum file.iso on Linux, shasum -a 256 file.iso and md5 file.iso on macOS, and Get-FileHash file.iso (add -Algorithm MD5 for MD5) or certutil -hashfile file.iso SHA256 on Windows. Here, open the file with the Check a download recipe: its MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 are worked out in your browser from its exact bytes, and pasting the published hash into Compare with says match or no match. MD5 and SHA-1 still catch a broken download, but they can be faked on purpose; trust SHA-256 or SHA-512 for that.

      How do I check a GitHub webhook signature?

      GitHub signs each delivery with an HMAC-SHA256 of the raw request body, using your webhook secret, and sends it as X-Hub-Signature-256: sha256=…. On the command line, printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$SECRET" works it out. Here, paste the body exactly as it arrived with the Webhook signature (GitHub) recipe, type the secret in Key and paste the header in Expected signature: it says match or no match. Re-formatting the JSON changes the bytes, and so the signature. The key is never saved or put in a link.

      How do I fix text that shows ’ or é instead of quotes and accents?

      The text was saved as UTF-8 but read as Windows-1252 (or Latin-1), so each accented letter or curly quote became two or three characters: é shows as é, ’ as ’ and “ as “. Paste it here with the Fix mangled text recipe: it turns those characters back into the bytes they came from and reads them as UTF-8, again if it happened twice, and says how many rounds it undid. Text that isn’t mangled comes back unchanged. On Linux, iconv -f UTF-8 -t WINDOWS-1252 bad.txt > fixed.txt undoes one round, but stops with an error at a closing ”, whose last byte Windows-1252 leaves unused. To stop it happening, have the program read the text as UTF-8: charset=utf-8 in the page or its Content-Type header, utf8mb4 on a MySQL connection, or -Encoding UTF8 in Windows PowerShell 5.

      Can I save or share a recipe?

      Yes. Save keeps a recipe in this browser, and Share link copies a link that carries the steps and their options only: your text is never in the link, never saved and never sent. Keys and hashes you type into a step are never saved or shared either. The page is locked so it can’t connect anywhere while you use it.

      What is the difference between HTML encoding and URL encoding?

      HTML encoding replaces characters that mean something in HTML, such as < with &lt;, so text displays literally on a page. URL encoding makes text safe inside a URL. Mixing them up, or encoding twice, causes broken links and output like %2520.

      Related tools: Smart Paste · Base64 Decoder · JWT Decoder · JSON Formatter · All tools A–Z