Skip to main content
Hash & encoding

Hash & encoding

MD5 · SHA · Base64 · hex · URL

.py
How to run offline / on an air-gapped system

1. Click the .py button above to download hash_tool.py.

2. Move it to the target machine. Needs Python 3.6+ (python3 --version). Stdlib only — no pip install required.

3. Run it. Examples:

  • $ python3 hash_tool.py "hello world"
  • $ python3 hash_tool.py --file binary.bin
  • $ echo -n hello | python3 hash_tool.py --json
  • $ python3 hash_tool.py --identify 5eb63bbbe01eeed093cb22bb8f5acdc3

Add --json to any command for machine-readable output. Windows: use python or py if python3 isn't on PATH.

Hashes
Base64
Hex
URL encoding
HTML entities
ROT13
Number base converter