Address Generator

Generate realistic addresses in the correct format for 21 countries — valid in shape, for software testing only

Privacy Notice: This tool runs entirely in your browser. Nothing you generate or enter is sent to any server or stored anywhere.

Generator

Pick a country and an output format, then generate a batch.

Generated values are valid in shape but randomized (Test Data).

Legal Disclaimer: Generated data is for software testing and validation purposes only (e.g. verifying input masks, form validation, or database seeding). It does not belong to real individuals. Using it to impersonate real people or for any fraudulent activity is illegal.

About this tool

Addresses look different everywhere — the postal code's position, whether the street number comes before or after the street name, and whether a district, province or prefecture appears all vary by country. This generator encodes the convention for 21 countries and emits a plausible address for each: a random house number, a real city, a common street name, and a correctly-formatted postal code.

Choose an output format — single line, multi-line (with the country name on its own line), JSON (structured fields), or HTML — and generate a batch of up to 50 at once for seeding a test database or filling out placeholder UI. A separate validator checks whether a postcode matches the selected country's expected format.

Everything runs locally in your browser; nothing is uploaded. The addresses are valid in shape but do not correspond to real homes — they are test data for software development.

How to use

  1. Pick country and format

    Choose the country whose address convention you want, and an output format (single line, multi-line, JSON, or HTML).

  2. Set the batch size

    Enter a count from 1 to 50 — useful for seeding a database or a test CSV.

  3. Generate and copy

    Click Generate to produce the batch, then copy the joined output.

  4. Validate a postcode (optional)

    On the Validator tab, pick a country and paste a postcode to confirm it matches the expected format.

Output formats

FormatExample
Single line123 Main St, New York, NY 10001
Multi-line123 Main St / New York, NY 10001 / United States
JSON{ number, street, city, region, postalCode }
HTML<address> … </address>

21 countries supported. Postal codes match each country's format.

Frequently asked questions