
How to Name the Stars in Your Own Night-Sky Photo
Take a photo of the night sky, tap two stars you know, and Space Radar draws the constellations, the star names and the planets onto it. The photo never leaves your phone or computer.
What “Save the picture” makes: the photo at its own size, with the figures, the names and a credit line. This photo is a test image drawn from our own star list, so that no one’s picture is used. Space Radar (MIT). The photo is a test image drawn from our own star list. Stars: HYG v4.4 (CC BY-SA 4.0); constellations: d3-celestial (BSD-3-Clause); planets: Astronomy Engine (MIT).
To name the stars in your own night-sky photo, open spaceradar.ai/sky-photo, choose the photo, tap two stars you know and say which ones they are. The page lines the sky up and draws the constellation figures, the names of the bright stars and, if it knows when the photo was taken, the planets and the Moon. Save the picture gives you a PNG with all of it. It is free, it runs in the browser, and your photo is never uploaded.
That last part is the reason it works the way it does. Here is how to use it, what happens behind the two taps, and what it cannot do yet.
What you need#
- A photo of the night sky taken through an ordinary lens: a phone’s main camera or its zoom, or a camera with a normal lens. The more stars show, the better.
- Two stars you can name somewhere in the photo. If you cannot name any yet, the time, a city near you and the direction the camera faced will do to start.
- Optionally, the time it was taken. Many cameras write it into the photo, and the page reads it from there.
Step by step#
- Press Choose a photo, or drop one onto the page. A photo larger than 4 096 pixels across is shown at 4 096, which is plenty to name its stars.
- Keep the Two stars tab. Tap a star you know, then pick its name from the list under “Which star is this?”. Do the same with a second star. The sky is now lined up.
- Tap a third star if you can. It checks the fit, and a line says how far the stars sit from their true places on average, in pixels.
- Press Snap to the stars in the photo. The page looks for the bright spots near where each bright star should be, and lines everything up on all of them at once.
- Under When it was taken and Where it was taken, check the time (often already filled in from the photo) and choose a city near you. The planets and the Moon appear.
- Use Show to turn the constellation lines, the constellation names, the star names, and the planets and the Moon on or off.
- Press Save the picture. You get
sky-photo-named.png: your photo at its own size, up to 4 096 pixels across, with everything drawn on it and a credit line along the bottom.

If you do not know any star yet#
Switch to Time and direction. Give the time, a city near you, the way the camera faced (one of eight compass points), how high above the horizon it pointed, and how wide the photo is. The page helps with the last one: a phone’s main camera sees about 65 degrees across, and its zoom 25 to 35. Press Draw the sky for a first, rough overlay. It shows which bright star is probably which; tap two of them to pin it properly.
If you would rather learn a few bright stars first, our guide to what is in the sky tonight is a good start, and the map’s constellations trip shows the figures one by one.
How two taps can line up a whole sky#
A camera with an ordinary lens draws the sky in one fixed way, the gnomonic projection, about the direction it points. Four numbers then describe any photo: where its middle points (two numbers), how far it is turned, and how wide it sees. Each star you name gives two equations, its across and its up, so two stars give exactly the four that are needed.
A third star and any more turn that into a least-squares fit, and the leftover is shown in pixels. When the average miss is more than about 0.4 per cent of the photo’s longest side, the line changes to a warning: a wide or fisheye lens, or a star named wrong. With three or more stars the page also tries the photo mirrored, as a front camera takes it, keeps whichever reading fits better, and says so if the photo was mirrored.
Snap then does the patient work. For each catalogue star brighter than magnitude 3.5 that falls in the frame, away from other bright stars, it looks for the brightest spot nearby that clearly stands out from the background, up to 30 of them. Then it refits on all of them, leaving out any pair that misses by more than three times the others, so one misnamed star or one speck of noise cannot pull the whole sky askew.
Where the names come from#
The names are those of the 436 named stars on the tool’s list, from the HYG catalogue. The lines and names of the constellations are d3-celestial’s, which follow the figures of Western star maps; other sky cultures drew quite different pictures from the same stars. The planets and the Moon are worked out on your device by the Astronomy Engine library, for the time you give. A city matters most for the Moon, which is close enough to shift against the stars depending on where you stand: without one, the page warns, it may be off by up to a degree.

Your photo stays on your device#
A photo of your garden or your street at night can say a lot about where you live, so the tool was built so that it cannot send it. The browser turns the file into a local blob: address, the page draws it on a canvas and reads its pixels there, and the address is thrown away when you choose another. The time read from the photo stays in the form; the place is a city you choose; nothing goes into the address bar.
This is held by a test, not only by good intentions. tests/test_skyphoto.mjs reads the page’s code and fails if it contains any way of sending data (a network request with a body, a beacon, a socket, a form post, the share sheet), or any request for a file that is not one of our own. If you have said yes to analytics, the one thing counted is that a picture was saved, with nothing about the picture.
What it does not do#
- It does not find the sky by itself. Services such as Astrometry.net solve a photo blind, by matching patterns of stars against an index built at every scale. For the roughly 9 000 stars visible to the eye, we estimated that index at about 6.5 MB, more than twice what the map allows for all its star tiles, before a star finder that copes with a noisy phone photo. So you name two stars instead, and the page says so.
- It assumes an ordinary lens. There is no model for fisheye lenses yet, and a phone’s ultra-wide camera bends the edges. The third star’s leftover shows how much.
- It names the bright, named stars only. It does not mark satellites or their trails, meteors or faint galaxies.
- It does not open your photo in the 3D map, on purpose: that link would have to carry where and when the photo was taken.
Tips for a photo that works#
- Use the main camera or the zoom, not the ultra-wide, so the stars land where a plain lens puts them.
- Rest the phone on something, or use a tripod and the camera’s night mode, so the stars are points and not streaks.
- Frame at least two or three bright stars you can recognise. A well-known figure, such as Orion’s belt or the Plough, makes the first two taps easy.
- Get away from bright lights if you can. Snap needs stars that stand out clearly from the background, and a glowing sky hides them.
- Keep the original file. A screenshot or a compressed copy may lose the time the camera wrote, and without it the page cannot place the planets; you can still type the time yourself.
Questions people ask
Is my photo uploaded anywhere?
No. The browser opens the photo on your device and draws it on the page; nothing of it is sent to Space Radar or anyone else, and nothing is kept when you close the page. The page asks the server only for its own star lists and words, and an automated test fails if its code ever gains a way to send data.
Which stars do I need to know?
Any two of the bright, named stars in the photo, such as Betelgeuse and Rigel in Orion or Vega and Altair in summer. If you know none, give the time, a city near you and the way the camera faced: the tool draws a rough sky that shows which bright star is likely to be which, and you confirm two of them.
Does it work with a phone photo?
Yes, with the phone’s main camera or its zoom. An ultra-wide or fisheye lens bends straight lines, so the stars near the edges miss their places; the tool shows by how many pixels once you have named a third star.
Why are the planets missing from my photo?
Planets and the Moon move against the stars, so the tool can draw them only when it knows when the photo was taken. It reads the time from the photo’s own data when the camera wrote it; otherwise type it in the “When it was taken” field.
Sources
- Name the stars in your photo Space Radar The tool and its own description of what it does and does not do. Read 25 November 2026.
- site/js/pages/skyphoto-core.js Space Radar How a photo is lined up: the two-star fit, least squares, the mirror test, Snap and the EXIF reader.
- tests/test_skyphoto.mjs Space Radar The test that holds the promise that the photo is never sent.
- HYG star database, v4.4 astronexus The 436 named stars the tool can mark, CC BY-SA 4.0.
- d3-celestial Olaf Frohn The constellation lines and names, BSD-3-Clause.
- Astronomy Engine Don Cross The planets and the Moon, worked out on the device, MIT licence.
- Astrometry.net Astrometry.net An example of the blind plate solving this tool does not attempt.
Explore on Space Radar
Keep reading

What Is in the Sky Tonight? Relearning to Look Up
What is in the sky tonight, seen from an ordinary city balcony, is a short list. Almost nobody is taught it any more. It takes one evening to learn.

Constellations in Other Cultures: Sky Stories from Eight Peoples
Orion’s belt is a hunter’s belt, two boys, a flying duck or a canoe’s keel, depending on who is looking. Space Radar now tells the stories of 468 figures from eight sky cultures, and says where it had to stop.

ISS pass tonight? Ask the sky over your own street
Most sky apps assume you know the constellations. The Tonight view in Space Radar assumes you know which way is south. What it works out for one street on one evening, and what it admits it cannot know.