Skip to content
OSINTtools.io

pyWhat

Verified yesterday

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
Summary

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.

Pros
  • +Instant answer to 'what is this string?'
  • +Large, community-maintained pattern set
  • +Easy pip or Homebrew install
  • +Runs fully offline
Cons
  • −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

  1. 01Use it when you find an unfamiliar identifier and want to know what kind of value it is.
  2. 02Use it when you need to extract emails, URLs and crypto addresses from a large text file or pcap.
Key featuresIdentifies a wide range of data typesWorks on text, files, folders and pcapsCrypto address and API key detectionTag-based include and exclude filtersPython library and CLI

Next steps from this result

Suggested from the inputs pyWhat takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Install from PyPI
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 review

Alternatives to pyWhat

Listed tools that take the same inputs, closest match first.

pyWhatOpen source · verified yesterday
Visit github.com (opens in new tab)