This tool extracts zip codes from text automatically. Paste your text and every 5-digit and ZIP+4 code is listed on its own line, ready to copy. It is free and runs in your browser.
The zip code for the Empire State Building in New York City is 10118.
10118
| Format | Example | Found? |
|---|---|---|
| 5-digit zip code | 10118 | Yes |
| ZIP+4 | 90210-1234 | Yes (or first 5 digits only) |
| Longer number | 1234567 | No |
| Shorter number | 1234 | No |
Built for US zip codes. A 5-digit number in a non-US address may also be listed.
Pull zip codes out of customer addresses to group and plan mailings.
Separate zip codes from messy address text before sorting or importing.
List the zip codes in orders to check delivery areas and regional sales.
It scans the text you paste and pulls out every US zip code it finds, listing each one on its own line so you can copy the result.
Paste your text into the input box. The zip codes appear instantly in the result box. Press Copy result to use them.
It finds standard 5-digit zip codes such as 10118 and ZIP+4 codes such as 90210-1234. You can switch ZIP+4 off to keep only the first 5 digits.
Yes. Tick Remove duplicates and each zip code is listed only once, in the order it first appeared.
No. A group of exactly 5 digits is matched. Longer digit strings such as 1234567 are skipped, so most phone numbers and order numbers are not mistaken for zip codes.
It is built for US zip codes. Postal codes from other countries use different formats, and a 5-digit number in a foreign address may also be listed.
Yes. Press Import from file and choose a .txt file. The tool reads it and extracts the zip codes straight away.
No. The tool runs in your browser, so your text stays on your device. It is free and needs no account.
Bookmark this page: press Ctrl+D (Windows) or Cmd+D (Mac).
Last updated: November 2026 · Free · No sign-up · Runs in your browser