Your files stay on your device

# ZIP code extractor

Pastes text or an address list in and pulls every US ZIP and ZIP+4 code out into a deduplicated list you can copy, with an optional numeric sort.

Paste text and the extracted code list appears here.

A match is a run of exactly five digits with no digits touching either side, plus an optional hyphen and exactly four more digits for ZIP+4. That boundary rule is why a phone number like 7855550142 or an order id like 1234567890 leaks nothing: their five-digit pieces sit inside longer runs. Codes stay text, so 00501 keeps its zeros. Two honest limits: 99999 reads the same as 00501 because shape is all this tool checks, and two five-digit runs split by punctuation both come out, so a mistyped 12345-67894 surfaces both halves.
Options

## More text tools

- [Acronym extractor](/text/acronym-extractor)
- [Sort and clean lines](/text/lines)
[All text tools](/text)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/text/zip-code-extractor
Markdown version: https://nutter.tools/text/zip-code-extractor.md
Plain-text version: https://nutter.tools/text/zip-code-extractor.txt
Agent index: https://nutter.tools/llms.txt

