Random Star Generator

Generate a random star, from familiar night-sky landmarks to distant giants and stellar remnants, for worldbuilding, learning, or picking a name with a cosmic ring to it.

What is a star?

A star is a sphere of plasma held together by its own gravity and lit by nuclear fusion in its core, where hydrogen fuses into helium. Mass decides almost everything about it: how hot and bright it burns, how long it lasts, and whether it ends as a white dwarf, a neutron star or a black hole. Astronomers classify them by spectral type -- O, B, A, F, G, K, M, running hottest to coolest -- with the Sun a middling G-type. The most massive burn through their fuel in a few million years, while red dwarfs will still be shining trillions of years from now.

About this generator

This generator draws from a curated list of real, named stars across five categories -- Main-Sequence Stars, Giants & Supergiants, White Dwarfs, Neutron Stars & Pulsars, and Multiple Star Systems -- from familiar night-sky landmarks like Sirius and Betelgeuse to stellar remnants and binary systems most people have never heard of.

Every result here is drawn using crypto.getRandomValues() -- the Web Crypto API's cryptographically secure randomness -- instead of Math.random(), so it's genuinely unpredictable, not just statistically random. Learn more.

What people use it for

Writers and game designers use it to name a starship, a fictional system, or a setting's guiding star. Educators and students use it as a quick way to explore different types of stars and how they differ. It's also a fun way to pick a star-themed name for a project, pet, or username, or to find a new star to look up and learn about.

How it works

Generate draws one star at random from the full pool using the site's cryptographically secure randomness, guaranteed not to repeat whatever result is currently showing in single-result mode. Filtering by category narrows the pool before drawing, and each single result comes with a short description of the star alongside its name.

What's inside

A sample of what this generator can draw, spread evenly across the full list:

Common questions

Are these real stars, or made up?

All of them are real, named stars and stellar remnants, including their descriptions -- nothing here is invented.

Can I filter by type of star, like only White Dwarfs?

Yes -- use the filter button to pick one or more of the five categories. Generate will then only draw from stars in the categories you've selected.

Will it show me the same star twice in a row?

Not in single-result mode -- each new roll is guaranteed to differ from the one currently on screen.

Does it include stars visible to the naked eye?

Yes -- bright naked-eye stars like Sirius, Betelgeuse, and Vega are in the pool alongside fainter stars and stellar remnants that need a telescope to see.

Related Generators

Planet · Exoplanet · Moon · Galaxy · Nebula · Asteroid or Comet

All Space & Astronomy generators

Browse all generators