Random Addresses Generator
Fast, accurate and free online random addresses generator tool running directly in your browser.
-
1Enter data
Enter content, paste text or load a file from disk. -
2Click the button
The tool will immediately process your data in the browser. -
3Get the result
Copy the finished text or save the file to your device.
return "Result ready in 0.1s";
}
Rate this tool:
Related tools
Other tools you may find usefulRandom address generator - fictitious address data for tests
Realistic test addresses are essential when creating applications with forms, online stores, customer databases and UI mockups. The generator creates fictitious but credible-looking Polish and foreign addresses with a postal code, city and street.
What are dummy addresses used for
Form testing: check validation without using real data. Database seeding: populating the customer table for testing. UI mockups: realistic mockups with addresses (no "Lorem ipsum" in the address field). GDPR compliance: test addresses instead of real user data. Application demo: demonstration for the customer without disclosing data.
Polish address format
Street + number: ul. Marszałkowska 120/3A. Postal code: XX-XXX (e.g. 00-543). City: Warsaw, Kraków, Gdańsk. Voivodeship: Masovian Voivodeship, Lesser Poland Voivodeship, etc. Optional: district, apartment number. Full format: ul. Kwiatowa 15, 30-001 Kraków. Companies: name, NIP, REGON.
Foreign formats
USA: 123 Main St, Springfield, IL 62701. UK: 12 Baker Street, London W1U 6TZ. Germany: Musterstraße 5, 12345 Berlin. France: 15 rue de la Paix, 75001 Paris. Each country's format varies. The generator supports popular European and US countries with valid postal codes.
GDPR and address data in tests
GDPR: using real addresses of people in tests = processing of personal data. Requires a legal basis, consent or anonymization. Safe options: (1) Generate fake data (generator). (2) Anonymize real data (e.g. change the street to a random one). (3) Pseudonymization (address hashing). GDPR penalties: up to 4% of annual global turnover.
FAQ
What libraries generate dummy addresses?
JavaScript/Node.js: @faker-js/faker (faker.location.streetAddress(), faker.location.city(), faker.location.zipCode()). Python: faker (from faker import Faker; fake = Faker("pl_PL"); fake.address()). PHP: fzaninotto/Faker (old) or fakerphp/faker (active). C#: Bogus (NuGet). Java: Java Faker.
How to generate Polish addresses with faker.js?
import { faker } from "@faker-js/faker/locale/pl"; faker.location.streetAddress() → "ul. Lipowa 47". faker.location.city() → "Gdańsk". faker.location.zipCode() → "80-###" (Tricity). faker.location.state() → "Pomeranian Voivodeship". faker.location.country() → "Poland". faker.location.countryCode() → "PL".
How to seed a database with test addresses?
SQL (directly): INSERT INTO addresses (street, city, code) VALUES (...). Laravel Factory: AddressFactory:: new()->count(100)->create(). Django: mixer.blend(Address, street=faker.street_address()). Seeders: run by php artisan db: seed or python manage.py loaddata. Transactions: wrap seeding into a transaction.
How to validate Polish addresses?
Regex zip code: /^[0-9]{2}-[0-9]{3}$/. Street: min. 3 characters, may contain numbers and slashes. City: only letters, spaces and dashes (e.g. "Bielsko-Biała"). NIP: 10 digits with a verification algorithm. PESEL: 11 digits with date of birth and checksum. Libraries: Polish-phone numbers (npm), nip-js.
Where to buy a database of Polish addresses legally?
Central Statistical Office (Central Statistical Office): TERYT – territorial register (free, communes/towns/streets). PRG (State Border Register): point addresses (free API). OpenStreetMap: geographic data with a nominated API. Polish Post: