Free online deobfuscator for Base64, hex, XOR, ROT and URL-encoded strings. Auto-detects the encoding, brute-forces XOR keys, decodes PowerShell payloads.
By Inventive HQ
This deobfuscator takes an encoded, packed or scrambled string and turns it back into readable text so you can see what it actually does. It is built for defensive work — incident response, phishing triage, log review and CTF challenges — where you have pulled a suspicious blob out of an email attachment, a scheduled task, a registry Run key or a web server log and need to know what it says before you decide how to respond. Everything runs client-side in your browser using standard JavaScript decoding routines: the sample you paste is never uploaded to a server, which matters when the artefact is evidence from a live incident.
The tool is a decoder, not a sandbox. It never executes the input. It reverses the layers of encoding that attackers stack on top of a payload to defeat signature matching, and it stops there — what you get back is text you can read, grep and hand to your ticketing system. If the decoded result is itself another encoded layer, you can feed it straight back in and keep peeling.
The tool supports a specific, finite set of encodings. Knowing exactly what is covered saves you from assuming a clean output means “nothing found”:
- and _ substituted for + and /), with automatic padding repair when the trailing = characters have been stripped.powershell.exe -EncodedCommand. Ordinary Base64 decoders return this as text riddled with null bytes; this decoder handles the UTF-16LE code path separately and gives you clean PowerShell source. A one-click PowerShell Encoding preset selects it.0x prefixes and other separators, which are stripped before decoding. Common in shellcode blobs and in char-array droppers.%41%42 style escaping used heavily in exploit URLs and web shell parameters.What it does not do is equally important. It is not a JavaScript AST deobfuscator: it will not rename mangled identifiers, evaluate packer bootstrap code, unroll eval chains automatically or reconstruct control flow from a flattened switch. It will decode the Base64, hex and XOR blobs that such packers embed, which is usually where the interesting strings live. It also does not unpack PE files, dump memory or emulate a script host.
Set the technique selector to Auto and the deobfuscator attempts every supported decoder and scores each result instead of guessing once. Two signals drive the ranking. The first is Shannon entropy, calculated over the decoded bytes. Meaningful English text and source code sit in a low band, roughly 3.5 to 4.5 bits per character; compressed or encrypted data pushes toward 7.5 to 8.0. A decode that lowers entropy is almost always the right one. The second is a readability heuristic, which weights the output by English letter frequency (e, t, a, o, i, n and the space character carry the most weight), adds a bonus for common tokens such as the, function, var, script and http, and subtracts a penalty for every non-printable byte. The combined score is why a correct single-byte XOR key floats to the top of 256 candidates without you reading them all.
A typical maldoc chain is Base64 wrapping a UTF-16LE PowerShell command, which itself contains a hex-encoded URL. Peeling it looks like this:
-enc or -EncodedCommand into the input box and click the PowerShell Encoding preset. The Base64 (UTF-16LE) result comes back as readable PowerShell rather than P.o.w.e.r.S.h.e.l.l.$u = [System.Text.Encoding]::ASCII.GetString([byte[]]-split('68 74 74 70 ...')). Copy the hex run, switch the technique to Hex, and decode it to reveal the staging URL.Rather than shuttling text between tabs, use Chain. Each decode result has a Chain button that pushes the output onto a visible stack of steps, so you end up with an auditable record of exactly which transformations produced the final plaintext — useful when you have to write the finding up later.
Because decoding happens locally, nothing leaves your machine — but the decoded output is still attacker-controlled text. Never paste a decoded command into a terminal to “see what happens”. Extract indicators instead: domains, IP addresses, file paths, mutex names and scheduled task names. Defang every URL and IP before sharing. If the decode yields a file signature rather than text, check the leading bytes with the file magic number checker, and inspect the raw bytes in the hex editor. For simple Base64 work outside an investigation, the Base64 encoder and decoder is the lighter tool.
A deobfuscator reverses the transformations an author applied to hide the meaning of code or data. In malware analysis that usually means undoing encoding layers — Base64, hex, XOR, ROT, percent-encoding — so that the underlying commands, URLs and strings become readable again.
Yes. It is free to use, requires no account, and imposes no per-day decode limit.
All decoding runs in your browser with client-side JavaScript, so the sample is never transmitted or stored on a server. The tool also never executes the input — it only decodes it. That said, treat the decoded output as hostile text and do not run it.
It decodes the encoded payloads inside obfuscated JavaScript — Base64 blobs, hex-escaped strings, percent-encoded fragments and XOR-masked data — which is where the meaningful strings usually hide. It does not perform AST-level deobfuscation such as identifier renaming, control-flow unflattening or automatic evaluation of packer bootstraps.
Paste the Base64 blob and choose the PowerShell Encoding preset. PowerShell encodes the command as UTF-16LE before Base64, so a standard Base64 decoder interleaves null bytes into the output; this tool decodes the UTF-16LE layer correctly and returns clean script text.
Leave the key field empty. The tool tries all 256 single-byte keys, scores each candidate plaintext using entropy and English readability, and shows you the strongest results first. Multi-byte and rolling keys are outside its scope.
Entropy measures how random the decoded bytes look, in bits per character. Readable text and source code typically land between 3.5 and 4.5; compressed, encrypted or still-encoded data trends toward 8.0. A decode that drops entropy sharply is almost certainly correct.
Yes. Click Chain on any result to push it forward as the input to the next step. The chain stays visible so you can see the full sequence of transformations and remove a step if you took a wrong turn.
Yes. URL-safe characters are normalised back to the standard alphabet and missing = padding is reconstructed before decoding, so truncated blobs from URLs and JWT-style fragments still decode.
No. There is no server round trip for decoding, no upload of pasted content, and no retention of samples.
Detect and decode nested encodings like Base64, Hex, URL encoding, ROT13.
Free XOR cipher tool: encrypt, decrypt, and brute force XOR online. Break repeating-key XOR automatically, crib-drag known plaintext, and decode single- or multi-byte keys. Text, hex & Base64. 100% client-side.
Encode and decode Base64 strings for data transport, email attachments, and web development
Extract ASCII and Unicode strings from binary files for malware analysis. Detect URLs, IPs, file paths, registry keys, and email addresses.