EditSafely

Slice an Image

Slice a part out of an image by dragging a rectangular band.

Runs on your device, nothing uploaded

Drop an image anywhere on this page

or paste with Ctrl / ⌘ + V ·

Accepts any image

Your images never leave this tab

Slice an Image is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, 200 photos straight off a camera means 1.6 GB uploaded, a wait in somebody's queue, and 240 MB downloaded again. Here it means 0 bytes up and 0 bytes down.

  • No upload
  • No file size limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Slice an Image

  1. 1. Drop in the image. Add the picture to crop. A selection box appears in the middle of it, with everything outside the box dimmed to show what will be cut away.
  2. 2. Pick a shape. Choose Free for any shape, Original to keep the picture's proportions, or a ratio such as 1:1, 4:5 or 16:9 for social posts and slides. The box reshapes around its centre.
  3. 3. Move and resize the box. Drag inside the box to move it and drag its handles to resize it; a grid appears while you drag to help with composition. Arrow keys nudge it by a pixel, or ten with Shift. Exact position and size sits folded under the settings.
  4. 4. Crop and download. Press the crop button, check the result, then click Download. The file is saved with -cropped added to its name.

When to use Slice an Image

Slice an Image cuts a rectangular band out of a picture by exact pixel coordinates, useful whenever you need one specific region rather than the whole photo. Set the position and size directly instead of dragging a crop box.

  • Extracting a banner strip from a screenshot. A full-page screenshot has one horizontal section, like a navigation bar, that you need as a standalone image. Slicing out that exact pixel band isolates it precisely.
  • Pulling a single sprite from a sheet. A sprite sheet packs multiple game assets into one image, and you need just one specific tile. Slicing the known coordinates of that tile extracts it without opening an image editor.
  • Cropping a fixed region for automated processing. A script processes a batch of similarly formatted images and always needs the same fixed region cut out of each one. Slicing with consistent coordinates keeps the extraction repeatable.

Examples

Slice a horizontal band

Input

photo.png + region (0, 100, 400×80)

Output

photo.png containing only the sliced 400×80 band

About the Slice an Image tool

Slice an Image does its work locally, right in the browser. Slice a part out of an image by dragging a rectangular band. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Image Tools collection on EditSafely, a set of 207 small, focused Image utilities that share the same instant, private workspace.

You can shape the output with 5 settings, including Aspect ratio, Left (px), Top (px) and Width (px), and the result is made when you press the button. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: the image is read straight from your device the moment you drop it, there is no server outage that can take it down mid-task, and private pictures stay private.

Frequently asked questions

Is Slice an Image free to use?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

Which files does Slice an Image accept?

It accepts images in any common format (PNG, JPG, WebP, GIF and more). There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

How do I save the output?

Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.

Related tools

All Image Tools →