Image Cropper
Client-sideNewCrop images by pixel coordinates in your browser — JPG, PNG, WebP, private, no upload.
Image Cropper cuts a rectangular region from JPG, PNG, or WebP using pixel x/y/width/height in your browser on Toolverse by RS — nothing is uploaded.
Examples
Key takeaways
- Pixel-precise crop with x, y, width, and height
- Rectangles clamp safely to image bounds
- Export as PNG, JPEG, or WebP after cropping
- Runs locally — screenshots never leave the browser
What is image cropping?
Cropping keeps a rectangular region of an image and discards the rest — useful for avatars, product frames, and removing margins.
This tool takes integer pixel coordinates (x, y, width, height) from the top-left origin, clamps them to the image bounds, and exports the region as PNG, JPEG, or WebP. It is precise and keyboard-friendly rather than a freehand editor — ideal when you already know the box you need.
Features
Pixel coordinates
Set x, y, width, and height for an exact rectangle.
Safe clamping
Overflowing boxes shrink to stay inside the image.
Format on export
Save the crop as PNG, JPEG, or WebP.
Private canvas crop
Image bytes never leave your device.
How it works
Drop an image
See source width×height in the status line.
Enter the crop box
x/y from the top-left, plus width and height in pixels.
Crop and download
Export the rectangle in your chosen format.
Example walkthroughs
Avatar square
Cuts a 512×512 face region for a profile image.
portrait.jpg → x=200 y=40 width=512 height=512
Remove margins
Trims padding from a screenshot before sharing.
slide.png → x=40 y=40 width=1840 height=1000
Use cases
Profile and icon crops
Cut exact squares for avatars and store listing icons.
Screenshot cleanup
Remove desktop chrome or margins before attaching to a ticket.
Code snippets
Crop with drawImage
jsCanvas source-rectangle crop matching this tool’s approach.
ctx.drawImage( bitmap, sx, sy, sWidth, sHeight, // source rect 0, 0, sWidth, sHeight // destination );
Common errors
Crop looks empty or tiny
Cause: Width/height were too small, or x/y sat past the image edge.
Fix: Check source dimensions first; the tool clamps but will reject empty boxes.
Wrong region exported
Cause: Origin is top-left — y grows downward.
Fix: Measure from the top-left corner of the image, not the bottom.
About Image Cropper
Image Cropper is a private, precision crop workspace for when you know the box you want. Drop an image, enter x/y origin and width/height in pixels, choose an export format, and download the cutout. Processing uses the canvas API in your browser — no upload of screenshots or product photos.
People searching “crop image online” often need either a quick visual trim or an exact pixel region for an avatar, Open Graph frame, or design handoff. This tool focuses on the exact case: numbers you can copy from a design tool or inspector, with automatic clamping if the box overflows the image.
It is intentionally not a full Photoshop-style editor. There is no freehand lasso or generative expand — just a reliable rectangle crop that stays fast and private. After cropping, Resize Image can scale the result to a required delivery size, and Image Compressor can shrink bytes further.
Transparency is preserved when you export PNG or WebP. JPEG export is available for photo cutouts that do not need alpha. Animated GIFs flatten to the first frame on export, same as the rest of the image cluster.
Best practice: note the source dimensions from the status line before cropping, keep a little padding around faces/UI chrome, and avoid cropping so tightly that compression artifacts hug important edges.
Frequently asked questions
Does Image Cropper upload my picture?
No. Cropping runs in your browser on Toolverse by RS. Image bytes are not uploaded.
Is there a visual drag handle?
This version is coordinate-based for precision and keyboard use. Enter x/y/width/height from a design tool or inspector.
What happens if my box is too large?
The rectangle is clamped to the image bounds so it never reads past the edges. Fully out-of-bounds origins are rejected.
Can I crop to an aspect ratio preset?
Compute width/height for the ratio you need (for example 1:1 or 16:9), or resize after a loose crop.
Related tools
Image Compressor
Compress JPG, PNG, and WebP images in your browser with a quality slider — private, no upload.
Image Resizer
Resize images by width or height in your browser — keep aspect ratio or stretch to exact pixels.
Image Converter
Convert images between PNG, JPG, and WebP in your browser — private, no upload.
Popular tools
JSON Formatter
Format, beautify, and minify JSON in your browser. Free, private, and instant — no upload to a server.
JSON Validator
Validate JSON instantly in your browser. See type, size, and node counts — or exact parse errors with line and column.
JSON Viewer
Explore JSON as an interactive tree with paths, types, and expandable nodes — all processed locally in your browser.
Base64 Encode / Decode
Encode UTF-8 text to Base64 or decode Base64 back to text — instantly in your browser.
Newest tools
Case Converter
Convert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, and more.
Word Counter
Count words, characters, sentences, and paragraphs with reading time — live and private.
Text Diff
Compare two texts line by line — see added and removed lines with a unified-style diff.
Slug Generator
Turn titles into clean, SEO-friendly URL slugs — lowercase, hyphenated, accents stripped.
Explore more
Guides & articles
Compress, resize, and convert images in your browser
A private image workflow: compress for email, resize for the web, convert PNG/JPG/WebP, and crop avatars — without uploading photos.
Cropping images notes on the RS Roshi blog
Practical write-ups around cropping images.
Platform documentation
Shortcuts, limits, and how client-side tools work.