A simple tool to decode HeidiSQL stored passwords. Built with Go + WebAssembly.
Live: https://anudeepd.github.io/heidisql-password-decoder/
- Open
index.htmlin a browser (or visit the deployed site) - Enter an encoded HeidiSQL password (hex string)
- Click Decode to reveal the password
- Click Copy to copy the result
- Dark/Light theme toggle
- Clear error messages for invalid input
- Copy to clipboard
- Keyboard support (Enter to decode)
GOOS=js GOARCH=wasm go build -o decoder.wasm main.gopython3 -m http.server 8080Then open http://localhost:8080
| File | Description |
|---|---|
main.go |
Go source code |
decoder.wasm |
Compiled WebAssembly module |
index.html |
User interface |
wasm_exec.js |
Go runtime for WebAssembly |
This file comes bundled with Go. Copy it from your Go installation:
# Common paths (varies by OS/install)
cp "$(go env GOROOT)/lib/wasm/wasm_exec.js" .
# or
cp "$(go env GOROOT)/misc/wasm/wasm_exec.js" .- Push all files to a GitHub repository
- Go to Settings → Pages
- Select main branch as source
- Save and wait for deployment
HeidiSQL password decoding algorithm based on:
- Original: https://gist.github.com/jpatters/4553139
- Archived: https://archive.softwareheritage.org/browse/content/sha1_git:037292fd4c6fe097c6c75246541fe647988775a0/?origin_url=https://gist.github.com/jpatters/4553139&path=HeidiDecode.js
Vibe-coded using the Big Pickle model via OpenCode