RandomBasis

Surname to draw

Random Last Name Generator

Draw a random surname from fourteen origins - or generate a whole cast at once.

Runs locally in your browser. Nothing you generate is ever sent to a server.

Press "Generate Surname" to see a result here.

Origin

About this random last name generator

Press Generate and a real surname comes up. The list spans fourteen origins, from the most common English family names to Japanese, Slavic, Nordic and West African surnames, so a cast of characters does not end up sounding like it came from one street.

Choosing surnames by origin

Surnames carry origin more strongly than first names do, which is why the filter matters. A character named Okafor, Kowalski or Yamamoto reads differently from one named Smith before a single line of description is written. Narrow the pool to a single origin and every draw stays consistent with the world you are building.

Building a full cast at once

Raise the quantity and one press gives a whole list with no repeats. For a novel or a role-playing campaign this is faster than inventing names as you go, and it avoids the trap of unconsciously reusing the same initials or rhythm across characters. Copy All puts the list on your clipboard, one name per line.

Surnames for test data

Realistic surnames are what test databases need: they exercise sorting, unicode handling and field lengths in ways that placeholder text never does. Names here include apostrophes and multi-word forms, which is exactly the sort of input that reveals bugs before your users find them.

Common uses

How the randomness works

The list is filtered to the origin you chose, then a surname is drawn using your browser's cryptographic random source. Values falling outside a clean multiple of the pool size are discarded and redrawn, which removes the bias that makes simple generators favour the first entries. Batches without repeats use a Fisher-Yates shuffle driven by the same source.

How do I generate a random last name?

Press Generate and one surname comes up. Press again for another, or raise the quantity to draw a whole list.

Can I pick surnames from one origin?

Yes. The filter narrows the pool to English, Irish, Scottish, Spanish, German, Italian, French, Japanese, Chinese, Korean, Indian, African, Slavic or Nordic surnames.

Can I get a list of surnames at once?

Yes. Set the quantity and press Generate once. With No repeats on, every surname in the batch is different, and Copy All takes the lot.

Are these real last names?

Yes, they are all real surnames in common use. That makes them suitable for characters and test data, and it means any match with a living person is coincidence.

Can I use these for a novel or a game?

Yes. Drawing surnames by origin is a quick way to give a cast of characters consistent, believable names without reusing the same handful.

Is the pick actually random?

Yes. Each surname is drawn with your browser's cryptographic random source using rejection sampling, so every name in the filter has an equal chance.