Images and Photos

Sky Replacement Done Right: Detection, Matching Light and Staying Honest

How automatic sky detection works, how to make a new sky look natural with matched lighting and soft edges, and when replacing a sky is not appropriate.

Saizul Amin
Saizul Amin28 Oct 2026 · 3 min read
Sky Replacement Done Right: Detection, Matching Light and Staying Honest

Sky Replacement Done Right: Detection, Matching Light and Staying Honest

A flat white sky can make even a beautiful landscape or a well-presented house look dull. Photographers often replace it with a blue or sunset sky. Done badly, the result looks fake: halos around trees, a sunset sky over a scene lit by grey daylight. The Sky Replacement tool automates the tedious part and gives you the controls for a natural result.

Step one: finding the sky

Sky pixels share a few properties: they are usually bright, smooth and bluish or grey, and they connect to the top edge of the photo. The tool marks pixels that fit those properties, then grows the sky region from the top edge only through connected candidates. This prevents a white wall or a pale car lower in the frame from being treated as sky. Small gaps like birds and power lines are filled, and the edge is softened.

You can guide detection with two settings. Sky detection controls how strict the colour and smoothness tests are. The lowest sky line stops the sky from extending below a certain height, which is useful when a lake or a pale building could be mistaken for sky.

Step two: choosing the new sky

The tool offers six skies generated in the browser: clear blue, blue with clouds, golden sunset, purple dusk, soft overcast and starry night. Because they are generated, there are no licensing issues. You can also add a sky photo you took yourself. Choose a sky that matches the time of day and the direction of light in the photo: a midday scene with short shadows looks wrong under a sunset sky.

Step three: matching the light

A real sky changes the light on everything below it. A golden sunset warms buildings and grass; a blue sky adds a cool tint to shadows. The foreground matching setting tints the landscape towards the average colour of the new sky. Use a little for blue skies and more for sunsets and dusk.

Checking the edges

Most fake-looking replacements fail at the edges. Tick show the sky mask to see exactly what will be replaced. Lower sky detection if trees or roofs are included; raise it if parts of the sky remain. Increase edge softness for leafy trees, and keep it low for clean rooflines.

When replacing a sky is fine

Landscape photography for personal use, social media, travel blogs and artistic work commonly use sky replacement. Many photographers keep a library of their own sky photos for this purpose.

When to be careful

  • Property listings: replacing a grey sky is generally accepted, but the property itself must be shown accurately. Do not hide features, add views that do not exist or change the building.
  • Photo competitions: some ban compositing; read the rules.
  • News and documentary: altering the scene is not acceptable.

Quick answers

Will it work on a phone photo? Yes, if the sky is clearly separated from the land.

Can I keep reflections in water consistent? Water reflections of the old sky remain. For lakes, use a calm sky similar in colour, or edit the reflection separately.

A quick workflow

  1. Load the landscape and, optionally, your own sky photo.
  2. Pick a sky that matches the light direction.
  3. Check the mask and adjust detection.
  4. Raise foreground matching until the colours agree.
  5. Export at full size.

Limits

Dense bare branches and fine details against the sky can keep a light halo. Skies with colours that also appear at the top of the scene may confuse detection. The tool runs entirely in your browser.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages