pyWhat
Python tool that identifies what a string or file contains: emails, IPs, crypto addresses, API keys, URLs and many more patterns.
Python CLI · Python library · Open source · Data analysis and case notes · github.com
- Takes
- File
- Pricing
- Free, open source
- Footprint
- Passive · no contact with target
- Account
- Not needed
- API
- No public API
- Last verified
- Nov 27, 2026
Python tool that identifies what a string or file contains: emails, IPs, crypto addresses, API keys, URLs and many more patterns. It takes file. Read the cons before you build a workflow on it.
What it does
pyWhat (command what) takes a piece of text, a file or a whole directory and tells you what is in it, matching against a large library of patterns for things like email addresses, IP addresses, URLs, phone numbers, cryptocurrency addresses, API keys and webhooks. It works recursively, so it finds every match inside larger files, including packet captures.
Investigators use it to make sense of an unknown identifier, or to pull the useful indicators out of a large text file, a pcap or source code in seconds. Filters such as --include "Bug Bounty" narrow the output, and it can also be imported as a Python library.
Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.
- +Instant answer to 'what is this string?'
- +Large, community-maintained pattern set
- +Easy pip or Homebrew install
- +Runs fully offline
- −Pattern matching gives false positives on short or generic strings
- −Identifies patterns only; does not look anything up
- −Command-line use only
When to use it
- 01Use it when you find an unfamiliar identifier and want to know what kind of value it is.
- 02Use it when you need to extract emails, URLs and crypto addresses from a large text file or pcap.
Next steps from this result
Suggested from the inputs pyWhat takes- Found a resultConfirm it with a second, independent source before you record itPassive
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
pip3 install pywhat pywhat --help
Technical details
Listing verified by an editor on Nov 27, 2026- API
- No public API
- Account
- Not needed
- Footprint
- Passive · no contact with target
- Pricing
- Free, open source
- Platforms
- Python CLI · Python library
- Repository
- bee-san/pyWhat 7,361 stars
- Language
- Python
- Licence
- MIT
- Last commit
- Nov 2026
- Listed
- Nov 27
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used pyWhat? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to pyWhat
Listed tools that take the same inputs, closest match first.
- AI Voice DetectorFreemium · Passive · APIWhat it does
Web detector that scores whether speech in an audio clip is AI-generated, segment by segment, with a free tier and an API.
FileNo ratings yetVerified yesterday - ALEAPPOpen source · PassiveWhat it does
Open-source parser that turns an Android extraction into HTML, TSV, timeline and KML reports of messages, app data and logs.
FileNo ratings yetVerified yesterday - APKLeaksOpen source · PassiveWhat it does
Python CLI that decompiles an Android APK with jadx and scans it for URLs, endpoints and hardcoded secrets.
FileNo ratings yetVerified yesterday