Payment and checkout forms usually ask for a billing postal code, and they often validate it: a US ZIP must be five digits, a Canadian code must follow the letter-digit pattern, and some systems check that the code matches the city. This generator gives developers and testers codes that pass those checks. Choose a Country, set how many you need (five by default) and press Generate.
Real five-digit ZIP codes paired with the city they belong to, for example "77006 (US - Houston, TX)" or "80202 (US - Denver, CO)". The list covers 76 cities across the country, from New York, Los Angeles and Chicago to Anchorage, Honolulu and Burlington, Vermont. Because the ZIP really belongs to that city, it works with forms that cross-check ZIP against city or state.
Canadian postal codes use the format A1A 1A1. The generator takes a real forward sortation area (the first three characters) for one of 16 cities, such as M5V for Toronto or V6B for Vancouver, and adds a random final three characters in the correct digit-letter-digit pattern. It only uses letters that Canada Post allows in those positions, leaving out D, F, I, O, Q and U.
UK postcodes are an outward code and an inward code, such as SW1A 1AA. The generator uses a real outward code from one of 18 places, including London, Manchester, Edinburgh, Cardiff and Belfast, then adds a random inward code of one digit and two letters, avoiding C, I, K, M, O and V, which Royal Mail does not use in that part of the code.
Picks a country at random for each line.
The Canadian and UK endings are random, so the full code may not correspond to a real delivery address. None of the codes are linked to any person, card or account. Use them only for testing and demos. Payment processors' test modes generally accept any well-formed postal code with their published test card numbers; in live mode, the postal code must match the cardholder's real billing address, and using made-up details for a real purchase will simply be declined.
The US ZIP codes are real codes for the city shown. Canadian and UK codes use a real area prefix with a random, correctly formatted ending, so the full code may not exist.
No. They are for testing forms. A real payment needs the postal code from the cardholder's actual billing address.
It is the postal or ZIP code of the address your card issuer has on file. Many payment systems check it as an anti-fraud measure.