Or try an example
The hexagon stays centered. Pixels outside it become transparent in the PNG.
Help Us Improve
—
(—)
Hexagon image crop
Crop a photo into a regular hexagon and download a PNG with a clear outside. Pointy or flat top. Free, no sign-in.
What this hexagon crop does
The crop
Pointy or flat
Pointy top puts a vertex at the top. Flat top puts an edge at the top.
Size
100 percent is the largest hexagon that fits. Smaller sizes stay centered.
Clear outside
The PNG keeps the hexagon and leaves the rest transparent.
How to crop a hexagon
Load a photo
Use an example or upload a PNG, JPEG, or WebP.
Choose the top
Switch between pointy top and flat top. The preview updates.
Download the PNG
The file is the same pixel size as the loaded photo, with a clear outside.
Tips
Leave a margin
Drop the size below 100 when the subject should sit inside the hexagon with room around it.
Match the frame
A tall portrait often looks better pointy. A wide photo often looks better flat.
Use a circle for avatars
Round profile photos are on Circle Crop Image and PFP Cropper.
When to use this page
A hexagon cutout
Download a PNG you can place on another background.
A badge or icon
Center a logo or a face inside the hexagon.
A layout tile
Prepare one tile when a design uses hexagon frames.
What you get
Live preview
Orientation and size update the hexagon before you download.
No account
The crop runs in the page. There is no sign-in step.
A PNG
The download keeps the transparent pixels outside the hexagon.
Technical details
- Shape
- Six equal sides. The radius is the distance from the center to a vertex.
- Fit
- At 100 percent the hexagon touches the nearer pair of edges and stays inside the photo.
- Output
- PNG at the loaded pixel size. Pixels outside the clip are transparent.
- Where it runs
- In your browser.
Sources & References
“The CanvasRenderingContext2D.clip() method of the Canvas 2D API turns the current or given path into the current clipping region.”
CanvasRenderingContext2D.clip(): The hexagon path becomes the clip, so pixels outside it are left clear. developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/clip
“The Canvas API provides a means for drawing graphics via JavaScript and the HTML <canvas> element.”
Canvas API: The crop is drawn on a canvas and saved as a PNG. developer.mozilla.org/en-US/docs/Web/API/Canvas_API