User Rating 0.0
Total Usage 0 times
Category Generators
1–100
Is this tool helpful?

Your feedback helps us improve.

About

Software testing, form validation, and database seeding require plausible address data. Using real addresses creates privacy liability. Using obviously fake data ("123 Fake Street") fails format validation and misses edge cases like long city names or multi-word street types. This generator assembles addresses from real US geographic components - actual city/state/ZIP combinations, common street name patterns, and standard USPS formatting - producing output that passes regex validation and visual inspection without corresponding to occupied dwellings. Each address follows the USPS Publication 28 structure: primary number, street name, optional secondary unit, city, two-letter state abbreviation, and 5-digit ZIP code.

The generator draws from a curated dataset of 50 US states plus DC, real city-to-ZIP mappings, and over 200 common American street names. Street numbers are bounded to the range 1 - 9999. Secondary designators (Apt, Suite, Unit) appear with configurable probability. Note: generated addresses are combinatorially plausible but not verified against USPS delivery databases. Do not use these for shipping or legal documents.

random address address generator fake address test data US address generator mock data

Formulas

Each address is assembled from independent random selections across structured component pools. The generation follows USPS Publication 28 address formatting standards.

Address = N + Dir + Street + Type + Unit + City + State + ZIP

Where N is a street number drawn uniformly from [1, 9999]. Dir is an optional cardinal prefix (N, S, E, W) applied with probability p = 0.25. Street is selected uniformly from a pool of 200 real American street names. Type is the street suffix (St, Ave, Blvd, Dr, Ln, etc.) selected uniformly. Unit is an optional secondary designator (Apt, Suite, Unit) with probability punit controlled by user setting. City, State, and ZIP form a validated tuple selected from a curated geographic dataset ensuring the ZIP code falls within the correct state range.

The total combinatorial space is approximately:

C = 9999 × 5 × 200 × 20 × L 2 × 108 unique addresses

Where L is the number of city/state/ZIP tuples in the dataset. Randomness is sourced from crypto.getRandomValues for uniform distribution quality superior to Math.random.

Reference Data

StateAbbreviationCapitalSample ZIP RangeArea Code(s)
AlabamaALMontgomery35004 - 36925205, 251, 256
AlaskaAKJuneau99501 - 99950907
ArizonaAZPhoenix85001 - 86556480, 520, 602
CaliforniaCASacramento90001 - 96162213, 310, 415
ColoradoCODenver80001 - 81658303, 719, 720
FloridaFLTallahassee32003 - 34997305, 407, 813
GeorgiaGAAtlanta30002 - 39901404, 478, 706
IllinoisILSpringfield60001 - 62999217, 312, 630
IndianaINIndianapolis46001 - 47997317, 574, 812
MassachusettsMABoston01001 - 02791413, 508, 617
MichiganMILansing48001 - 49971231, 248, 313
MinnesotaMNSaint Paul55001 - 56763218, 320, 612
New JerseyNJTrenton07001 - 08989201, 609, 732
New YorkNYAlbany10001 - 14925212, 315, 516
North CarolinaNCRaleigh27006 - 28909336, 704, 919
OhioOHColumbus43001 - 45999216, 330, 614
OregonORSalem97001 - 97920503, 541, 971
PennsylvaniaPAHarrisburg15001 - 19640215, 412, 717
TexasTXAustin73301 - 79999210, 214, 512
VirginiaVARichmond20101 - 24658276, 540, 703
WashingtonWAOlympia98001 - 99403206, 253, 509
WisconsinWIMadison53001 - 54990262, 414, 608

Frequently Asked Questions

No. The addresses are combinatorially assembled from real geographic components (actual city names, valid state abbreviations, ZIP codes within correct state ranges) but the specific street number + street name + city combination is statistically unlikely to match an occupied dwelling. The combinatorial space exceeds 2 × 10⁸ permutations. Do not use these for shipping, legal filings, or identity verification.
US ZIP codes in the Northeast (Connecticut, Massachusetts, Maine, New Hampshire, New Jersey, Puerto Rico, Rhode Island, Vermont) begin with 0. For example, Boston ZIP codes start with 021xx. The generator preserves leading zeros by treating ZIP codes as strings, not numbers. If you import these into a spreadsheet, format the ZIP column as text to prevent Excel from stripping the leading zero.
Yes. This is the primary intended use case. Generated addresses follow USPS Publication 28 formatting: numeric street number, optional directional prefix, street name, street type suffix, city, 2-letter state abbreviation, and 5-digit ZIP. They will pass standard regex validation patterns for US addresses. For API integration testing, the addresses are realistic enough to test geocoding error handling (the geocoder should return low-confidence or no-match results).
When you select a specific state, the generator only draws from city/ZIP tuples mapped to that state. The ZIP code ranges are real: Texas ZIPs fall within 73301-79999, California within 90001-96162, etc. The city-to-state mapping is verified. Selecting "Any State" draws uniformly from all available state datasets.
The "Include Unit" toggle controls secondary address line generation. When enabled, approximately 40% of generated addresses include a secondary designator chosen from: Apt (apartment), Suite (Ste), Unit, or # followed by a number between 1 and 999 or a letter A - H. This ratio reflects approximate US Census data showing roughly 1 in 3 occupied housing units are in multi-unit structures.
The generator uses crypto.getRandomValues() via the Web Crypto API, which provides cryptographically strong random values. This exceeds the quality of Math.random() (which uses a PRNG and is not suitable for security-sensitive applications). For address generation, this level of randomness is more than sufficient and ensures uniform distribution across the combinatorial space.