Menu

Go Deobfuscator

Detect and reverse Go obfuscation automatically. Identifies short identifiers, hex-escaped strings, Base64, XOR ciphers, Unicode escapes, numeric literals, and string concatenation — plus full support for CodesTerra Go Obfuscator output. Confidence scoring and source context included.

Go Deobfuscator Studio7 Detectors
Ready
7 detectors + CodesTerra support. This tool identifies the same 7 obfuscation patterns as AbackTools: short identifiers, hex escapes, Base64, XOR ciphers, Unicode escapes, numeric literals, and string concatenation. It also fully decodes CodesTerra Go Obfuscator output (XOR+hex decoder functions). Every detection shows the encoded value, decoded result, confidence score, and source context.
Obfuscated Go Input 0 chars
Deobfuscated Output 0 chars
Complete Guide to Go Deobfuscation

What This Tool Detects

#TechniqueDetectsDecodes?
1Short identifiersa, b, _0x, _x0✅ Flags for review
2Hex-escaped strings\x48\x65\x6c\x6c\x6f and []byte{0x48,0x65,...}✅ Fully decoded
3Base64 stringsbase64.StdEncoding.DecodeString("...")✅ Fully decoded
4XOR ciphersbyte slice ^ key in loops⚠️ Flagged (needs runtime)
5Unicode escapes\u0041\u0042✅ Fully decoded
6Numeric literals0xFF, 0o77, 0b1010✅ Converted to decimal
7String concatenationstrings.Join / fragmented strings✅ Reconstructed
★CodesTerra decoderRANDOMFN("hex", "key") + XOR function✅ Fully decoded + removed

Confidence Scoring

Each detection gets a confidence score from 1–5:
  • 5 (Very High) — decoded content contains readable text (URLs, meaningful strings)
  • 4 (High) — successful Base64/hex decode, clear numeric obfuscation
  • 3 (Medium) — short identifiers, string concatenation patterns
  • 2 (Low) — XOR patterns needing runtime execution
  • 1 (Very Low) — ambiguous indicators

CodesTerra Go Obfuscator Support

In addition to the 7 standard detectors, this tool fully reverses CodesTerra Go Obfuscator output:

  • Detects the randomly-named XOR+hex decoder function by structure
  • Detects the hexVal helper function
  • Decodes every RANDOMFN("hex", "key") call back to plaintext
  • Removes both functions and the banner comment
  • Removes the now-unused encoding/hex import

What It Cannot Do

  • Decrypt AES/DES-encrypted strings — needs the key
  • Deobfuscate garble binaries — use GoReSym / GoResolver
  • Recover original variable names — renaming is lossy
  • Decrypt XOR with a dynamically-built key — needs runtime execution
  • Handle commercial obfuscators — gobfuscate and similar

Frequently Asked Questions

What does this tool detect?
7 obfuscation patterns: short identifiers, hex-escaped strings, Base64 strings, XOR ciphers, Unicode escapes, obfuscated numeric literals, and string concatenation. Plus it fully decodes CodesTerra Go Obfuscator output.
How does it decode hex-escaped strings?
It scans for Go string literals containing \xXX sequences and []byte{0x...} literals, extracts the bytes, and converts them to readable text. E.g. \x48\x65\x6c\x6c\x6f → Hello.
Can it decrypt Base64 strings?
Yes, for base64.StdEncoding.DecodeString("...") calls. It extracts the Base64 content and decodes it using the browser's atob().
Why are XOR patterns only "flagged"?
XOR patterns often use a key that's defined elsewhere in the code or built dynamically. Without executing the code in a Go runtime, the key can't be reliably extracted. The tool flags them for manual review.
What about CodesTerra Go Obfuscator?
This tool also fully reverses CodesTerra output. It detects the XOR+hex decoder function (regardless of its random name), decodes every encoded string call, removes both functions, and strips the banner.
What is confidence scoring?
Each detection gets a score from 1–5. Higher scores mean the tool is more certain the pattern is real obfuscation and not legitimate code. Score 5 means decoded content is clearly readable (URLs, meaningful strings).
Is my code uploaded?
No. Everything runs in your browser. Your Go code never leaves your device.
Can it analyze compiled Go binaries?
No. This tool works on Go source code, not compiled binaries. For binary analysis, use the Go Binary Analyzer.

Related Tools

External Resources