How it works
Sharp puts several shots of the same scene together into one picture. Everything happens in this browser tab, on your device: the photos are read from your disk, merged here, and the result is saved back to your disk. They are never sent anywhere.
Why your photos can’t leave
The page is served with a security policy that lets it talk only to sharpmerge.com, and it never sends your pictures there either: there is nothing on the server to receive them. Once the page has loaded it works with no internet connection at all — try it in flight mode.
Check it yourself
You don’t have to take our word for it. In Chrome or Edge, press F12 (on a Mac, ⌥⌘I) and open the Network tab; in Safari, turn on Settings › Advanced › Show features for web developers first, then Develop › Show Web Inspector › Network; in Firefox, press F12. Choose photos and make a picture: the list shows the page’s own files and the engine (sharp_engine.wasm) being read from this site, and nothing going out with your photos — no upload, no request the size of a photo.
- The only requests the page ever makes of the server are for its own files and, when you unlock Sharp Pro or remove it from this browser,
/api/activatewith the license key, or/api/deactivatewith that activation’s number — nothing else is sent. - The page’s Content-Security-Policy header (Network › the page › Headers) says
connect-src 'self': the browser itself refuses to let the page talk to any other site. - After a first visit, switch the network off — flight mode, or Network › Offline — and reload: Sharp keeps working, because everything it needs is already on your computer.
What runs
The merging is the same engine as the Sharp app for iPhone and iPad, rewritten to run in the browser (Rust compiled to WebAssembly). It lines the frames up when asked — by comparing small windows of each frame with the middle one, and only moving a frame if that clearly makes it match better — then combines them a band of rows at a time, so even 45-megapixel photos fit in a phone’s memory.
- Focus lines up a focus bracket — shift, the slight change of size as focus moves, and a rolled wrist — then takes every part from the frame that had it sharpest, blended where neighboring frames share it. You choose the detail size by comparing four on a crop. It keeps the frames on this device’s private storage while it works and removes them after.
- Clean averages every frame: the noise falls with the square root of the number of frames. With “Leave out strays” it reads the frames twice: the first time for each pixel’s mean and spread, the second to average only the values that lie near the rest, so a trail in one frame doesn’t show.
- Vanish finds, at every point, what most frames agree on and averages those frames; anything only a few frames saw — a passer-by, a car — is left out. It keeps the frames on this device’s private storage while it works and removes them after.
- Trails keeps the brightest (or darkest) frame at every point, whole pixels, so no color is invented.
- Blend is exposure fusion: each part of the picture is taken from the frames that exposed it best. With “Remove ghosts” on, each frame is held to the middle exposure — its tones mapped onto the middle one’s — and wherever it shows something the middle exposure doesn’t (a person who walked on, a branch that swayed), it gives way there, so whatever moved appears once, as the middle exposure has it. From RAW files, Sharp Pro also writes the bracket merged in linear light as a 32-bit TIFF: each frame’s untoned development divided by its exposure, the frames averaged where each holds the light best, every stop kept for you to tone in an editor.
- Pano finds matching points where neighboring frames overlap, works out how the camera turned, lays the frames on a cylinder (a plane for a narrow turn, a sphere for more than one row), evens out their brightness and cuts each seam where the frames agree, so someone who walked on comes out whole rather than see-through; a full turn is refined round the loop and comes out exactly 360° wide; the result is cropped to where every part was photographed, so nothing is filled in.
- Pick scores every frame for detail and hands back the sharpest file untouched.
Sharp Pro’s own tools
These need Sharp Pro for your own photos. Each has sample photos you can run without it, to see what it does.
- Silk averages a burst of moving water, clouds or traffic into one long exposure, lined up first so that what stood still stays sharp.
- Sequence makes Vanish’s clean background from a burst, then lays the moving subject back in from the frames you choose. Where each frame shows it is decided a few pixels at a time, not pixel by pixel, so a shirt the color of the wall behind it comes out whole; later frames go in front. Like Vanish, it keeps the frames on this device’s private storage while it works and removes them after.
- Sky finds the stars in every frame and works out how the sky turned between them, then stacks the frames twice — lined up on the stars, and as they were — and takes the sky from the first and the ground from the second, block by block, wherever the frames agree better.
- Enlarge lines up a hand-held burst to a hundredth of a pixel — each frame’s small shift, roll and scale — and puts every frame’s pixels back where they fell on a grid twice as fine, each by how near it falls; a light sharpening takes back the softness that gathering adds. The detail is the frames’ own: a hand never holds still to the pixel, so each frame saw the scene slightly differently.
- Slice cuts the picture into strips across it — left to right, top to bottom, corner to corner or out from the middle — and fills each strip from one frame, in the order they were shot, so a sunset becomes night across one picture. With soft edges, two neighboring frames are mixed where their strips meet; every pixel is still the frames’ own.
- Loop lines the frames up and keeps a copy of each at video size, then finds what moves: on small tiles, each frame is matched against the middle one a couple of pixels each way, so a hand’s last sway lines up again and only what really moved — water, a flag — is left. You choose which of those parts move; the middle frame stays still everywhere else, and the end fades into the start so the loop has no jump. The video is made by your browser’s own encoder; the GIF by Sharp.
- Lucky scores every frame of a Moon or planet video by its sharpness (the energy of its finest detail, over its brightness, so haze doesn’t count against it) and finds how the whole picture drifted; it keeps the sharpest quarter, averages them into a soft reference, then lines each kept frame up on it in 64-pixel tiles — the air bends one part of the picture one way and another the other — and averages them. The stack is sharpened lightly at two sizes, as every lucky-imaging result is finished.
- Deep finds each sub’s stars, as Sky does, and places every sub on the middle one by them (a homography: a mount’s drift, a dither, the field turning under an alt-azimuth mount). A pixel brighter than all its neighbors at the same place on the sensor in half the subs or more is a hot pixel, mended before anything else. Each sub is then moved onto the middle one and averaged with Clean’s leaving out strays — a satellite, a plane, a cosmic ray is in one sub only and is left out where it falls. Dark and flat frames come off first, as for Sky. The stack is stretched for viewing unless you ask for it linear.
- Lapse reads each frame twice. First its brightness (a median in linear light) and its shift; a straight line fitted over each frame’s nine neighbors gives the brightness it should have, so the flicker an automatic exposure leaves goes and a sunset’s fall stays. Then each frame in order is lined up, its brightness set, shrunk to the video’s size and handed to the browser’s own H.264 encoder as it comes — a few hundred frames never fill the memory. With growing trails, each frame keeps the brightest of all before it.
- Steady reads each frame twice. First, on the frame’s luma shrunk to about 960 px, nine tiles are laid against the previous frame’s by phase correlation and a similarity (shift, turn, scale) is fitted to what they say — the tile that disagrees most dropped if it is clearly off, a passer-by or a car. The moves chained give the camera’s path, frame by frame; each part of it (turn, scale, offset) is smoothed over its neighbors, or averaged over the whole run to hold the camera still, and the difference is the shake. Then each frame is shrunk to the video’s size, moved onto the smoothed camera’s view (sampled bicubically) and handed to the browser’s own H.264 encoder as it comes. The picture is zoomed in just enough that no frame’s edge shows, down to 70 % of each side; a frame that moved further keeps its edge pixels repeated, and the note counts it.
- Meteor does what Sky does — the stars found, each frame placed on the middle one, the sky stacked on the stars and the ground where it stood — and then reads every frame once more, moved as it was for the stack, for what stands out of the stack by five times that frame’s noise. Those pixels are joined into pieces; a piece is a streak when it is 12 pixels or more, 10 px long, three times longer than wide and no wider than a 200th of the picture — a hot pixel is a dot, a twinkling star a spot, a cloud is wide. Sky’s sky-or-ground choice is made with the streaks’ own blocks given no say (a meteor in one frame makes its blocks look like ground), and a streak that lies in the sky is painted back with its frame’s own pixels. Satellites and planes are streaks too, kept unless you leave out the long ones.
- Bolt adds the frames up as they come, as Clean does, keeping beside each pixel’s sum its brightest frame. Then, at every pixel, the frames other than the brightest give a mean and a spread; pixels are sorted by brightness into sixteen groups, and each group’s typical spread is its noise. Where the brightest frame stands over the rest by far more than that noise — a broad glow judged over a small neighborhood, so a JPEG’s blocks don’t cut its edge into steps, a thin bolt pixel by pixel, at twice the margin, so a leaf in the wind isn’t — the pixel is that frame’s; everywhere else it is every frame averaged.
- Echo reads every frame twice, as Clean does when it leaves out strays. The first time gives each pixel its mean and spread; the second averages only the values near the mean, which is the background without the subject, and at each pixel where a frame’s value lies far outside (12 levels at least), keeps the frame nearest the sharp end. Lone pixels of that are noise and are dropped; the rest are laid over the background, the sharp frame whole and each other frame fainter with its distance from it.
- Flash first lines the flash photo up on the other, on their edges (which sit in the same place under either light): the whole picture’s slide, then tiles across it, with one smooth field fitted to what they agree on — a slide, a turn and the keystone a tilted phone leaves. Then it smooths the photo without the flash with a guided filter that takes its edges from the flash photo, so the noise goes but nothing bleeds across an edge, and multiplies in the flash photo’s fine detail: its brightness over its own smoothed brightness. Where the flash added little light — its shadows, and what it didn’t reach, judged against the photos’ exposures — or glared, the photo without the flash is used, only smoothed. The map shows where.
What you get
A full-resolution JPEG, with no watermark, at the quality you choose — and, if you like, a lossless PNG beside it. When your photos are JPEGs it keeps their color profile and which way up they go; nothing else about them — camera, place, time — is copied into the result. Compare puts the result over the middle frame, with a line to drag between them.
Limits
Up to 12 photos at a time, all the same size — Sharp Pro for the web (US$10, once) takes as many as your computer can, and adds its own tools (above), the retouch brush (paint the right frame back in where the merge guessed wrong), a 16-bit TIFF and PNG, the maps, every frame lined up and batches — split where you paused between bursts, and in Chrome and Edge saved straight into a folder. You can choose a whole folder of photos, or drop one on the page. JPEG works in every browser; HEIC photos open in Safari.
Projects
Each run is kept in this browser as a project: the result, its map and the settings, and each photo’s name, size and date — never the photos. Open one to see and download its result again, or choose the same photos to make it again. With Sharp Pro every run is kept, and a saved retouch can be carried on later. Projects stay on this device until you delete them.
RAW
Camera RAW files — Canon CR2 and CR3, Nikon NEF, Sony ARW, Fujifilm RAF, Olympus ORF, Panasonic RW2, Pentax PEF, DNG including iPhone ProRAW, and most others — are developed here, in every browser, free, by LibRaw. Every frame of a run is developed the same way: the middle frame’s white balance as shot and one brightness, so the frames match and a bracket keeps its stops; a dark scene stays dark. LibRaw can’t read Nikon’s “High Efficiency” NEFs, nor DNGs compressed with JPEG XL (an option on newer iPhones): when such files carry the camera’s own full-size JPEG, as Nikon’s do, the run is made from those JPEGs instead, and the result says so.