Advertisement

Random Name Generator

Random given and family names for 20 countries — with local spelling, diacritics and name order — for test fixtures, UI mockups and demo accounts.

Advertisement

 

Random combinations of common names for test fixtures and mockups. They are not real people; any match is coincidental.

Advertisement

Names that test your code properly

Most test suites are full of John Smith and Jane Doe. Those names never contain an accent, an apostrophe, a space inside the family name or a second surname, so they never reveal the bugs that real names cause. This generator draws from lists of common given names and family names for 20 countries, spelled the way people in those countries spell them: José and María with accents, Müller with an umlaut, Turkish Gül and Yıldız with a dotless i, Japanese names in Hepburn romanisation, and Nigerian, Pakistani and Filipino names as they appear in those countries’ English-language records.

Each result has the full name in the country’s usual order plus the given and family names separately, and a gender label (female or male) if your schema has one. Choose a gender or leave it on Any for an even mix.

Naming conventions worth testing

ConventionWhereWhat breaks
Family name firstJapan (also China, Korea, Hungary)Greetings like “Dear {first_name}” that assume the first word is the given name
Two family namesSpain, Mexico and most of Latin AmericaA single “last name” field that is too short, or search that only indexes the first surname
Particles and spacesNetherlands (van, de), Germany (von), Brazil (da, dos)Sorting by the first letter of the family name, capitalisation routines
Diacritics and special lettersGermany, France, Spain, Brazil, TürkiyeNon-UTF-8 database columns, ASCII-only validation, case conversion of ı and İ
Very short or single-word namesIndonesia, parts of IndiaRequired last-name fields and minimum-length rules

A good rule, in line with the W3C article Personal names around the world: ask for a single “full name” field unless you really need the parts, allow every Unicode letter plus spaces, hyphens and apostrophes, and never assume a minimum length. Generated names from several countries are a quick way to check that your form follows it.

Advertisement

Uses for random names

Need the names together with addresses, e-mails and phone numbers? The fake address generator adds a random name to each address, and the test data generator builds complete user records in JSON, CSV or SQL.

Where the names come from

The lists were compiled by us from widely used given names and family names in each country — roughly 60 or more given names per gender and 80 or more family names per country. Names are facts and the lists are our own selection, so you can use the output freely, including commercially. Because the names are common, a generated combination will sometimes match a real person; that is harmless as long as you don’t attach the name to real data or present it as a real person.

Frequently asked questions

Are these real people?

No. Each name is a random combination of a common given name and a common family name for the country. Because the names are common, a combination can match a real person by chance — that is unavoidable and harmless, but do not attach generated names to real data or present them as real people.

Why do Japanese names show the family name first?

In Japanese the family name comes first (Satō Haruto). The generator follows the local order for the full name and also returns the given and family names in separate columns, so you can test both orders.

Why do Spanish and Mexican names have two surnames?

People in Spain and most of Latin America use two family names: the first from the father, the second from the mother. Many forms cut the second one off — a good reason to test with them.

Can I use the names commercially?

Yes. Names are facts, not creative works, and the lists were compiled by us. Use them freely in tests, demos and screenshots.

Related tools

Advertisement