Random New York Address Generator
Generate realistic random New York City addresses with real streets, ZIP codes, boroughs, and phone numbers. Bulk generation up to 50 addresses.
About
Generating test addresses by hand leads to implausible data: nonexistent ZIP codes, streets that don't match boroughs, or formatting that fails USPS validation. This tool produces addresses that follow real New York City geographic constraints. Every generated street name exists in the specified borough. Every ZIP code (10001 - 11697) maps correctly to its borough. Street numbers fall within realistic ranges for the street type. This matters for QA testing, form validation, database seeding, and UI mockups where obviously fake data undermines credibility.
The generator covers all 5 boroughs: Manhattan, Brooklyn, Queens, The Bronx, and Staten Island. Apartment/unit numbers follow standard USPS secondary designator formats (Apt, Suite, Floor, Unit). Phone numbers use valid NYC area codes (212, 718, 646, 917, 347, 929). Note: these are structurally valid addresses for testing purposes. They are not guaranteed to correspond to real occupied properties. Do not use generated data for any fraudulent or deceptive purpose.
Formulas
Address generation follows a deterministic structure with random selection at each layer. The output conforms to USPS Publication 28 formatting standards.
Where:
StreetNumber ∈ Z+, drawn uniformly from [1, MaxRangeborough] using crypto.getRandomValues. Manhattan caps at 999; Queens extends to 25000 reflecting hyphenated addressing (e.g., 87-12).
StreetName is selected uniformly from a borough-specific lookup table of real street names. Each borough maintains its own list to prevent geographic mismatches (e.g., "Ocean Parkway" only appears in Brooklyn, not Manhattan).
ZIP is selected from the borough's valid ZIP code set. For Manhattan: 10001 - 10282. For Brooklyn: 11201 - 11256.
Unit is optionally appended with probability p = 0.4. Format: Apt + UnitID, where UnitID follows patterns like 3A, 12F, or plain numerics 101 - 2505.
Phone number structure: (AreaCode) Exchange-Subscriber, where Exchange ∈ [200, 999] and Subscriber ∈ [0000, 9999]. Exchange avoids 555 (reserved) and 911/411 (service codes).
Reference Data
| Borough | Population (2020) | Area (mi²) | ZIP Code Range | County Name | Common Area Codes | Avg. Street Number Range |
|---|---|---|---|---|---|---|
| Manhattan | 1,694,251 | 22.83 | 10001 - 10282 | New York | 212, 646, 332 | 1 - 999 |
| Brooklyn | 2,736,074 | 69.5 | 11201 - 11256 | Kings | 718, 347, 929 | 1 - 9999 |
| Queens | 2,405,464 | 108.53 | 11004 - 11697 | Queens | 718, 347, 929 | 1 - 25000 |
| The Bronx | 1,472,654 | 42.1 | 10451 - 10475 | Bronx | 718, 347, 929 | 1 - 5000 |
| Staten Island | 495,747 | 58.37 | 10301 - 10314 | Richmond | 718, 347, 929 | 1 - 9999 |
| NYC Area Codes Detail | ||||||
| 212 | Original Manhattan code, established 1947. Premium/legacy. | |||||
| 718 | Outer boroughs (Brooklyn, Queens, Bronx, Staten Island), established 1984. | |||||
| 646 | Manhattan overlay, established 1999. | |||||
| 917 | Citywide overlay, primarily cell phones, established 1992. | |||||
| 347 | Outer boroughs overlay, established 1999. | |||||
| 929 | Outer boroughs overlay, established 2011. | |||||
| USPS Secondary Unit Designators | ||||||
| Apt | Apartment - most common residential designator in NYC. | |||||
| Suite / Ste | Typically commercial or high-end residential. | |||||
| Floor / Fl | Entire floor units, common in Manhattan office buildings. | |||||
| Unit | Generic designator, used in condos and co-ops. | |||||
| # (Number sign) | USPS-accepted catch-all when designator type is unknown. | |||||