Add Border to Image
Give a photo or screenshot more space around the edges. Set each side in pixels or pad the picture to a square.
Add margins to a picture
- Choose a supported JPEG or PNG from your device.
- Set one margin for every edge or enter each side separately. Choose a solid color or transparent space.
- Check the new dimensions, prepare the PNG and download it.
Check the new canvas
The left and right margins add to the width. The top and bottom margins add to the height.
The image keeps its decoded size. Its upper-left corner moves by the left and top margins.
A solid border colors only the new space around the picture. Transparency within the picture stays visible.
Frame a photo or screenshot
Give a 1,280 × 720 photo 32 and 64 pixels at its sides and 40 and 96 pixels above and below. The new canvas is 1,376 × 856 pixels.
Use a transparent square for a landscape image in a square layout. With an odd difference, the bottom or right margin gets the extra pixel.
Supported images and limits
Choose a still JPEG or PNG of up to 20 MiB. The source and output are each limited to 8,192 pixels per edge and 8,388,608 pixels in total. A 4,032 × 3,024 camera photo exceeds the pixel limit.
The PNG saves the browser-decoded image and the new margins. Original metadata and color profiles are omitted.
Local image processing
The browser prepares your PNG on your device. Reloading clears the workspace.
Image border questions
Sources
Related tools
SVG to PNG
Convert a local SVG file or pasted markup into PNG, with explicit dimensions, transparency and bundled fonts.
Open tool — SVG to PNGImage Watermark
Add a text or logo watermark to a batch of images, review each result and download individual files or a ZIP.
Open tool — Image WatermarkImage Redactor
Cover private details in a photo or screenshot and save a PNG on your device.
Open tool — Image RedactorPhoto Metadata Remover
Make a separate PNG copy of a JPEG or PNG photo without its original embedded metadata.
Open tool — Photo Metadata RemoverGIF Maker
Turn still images into a GIF slideshow with frame timing and loop controls.
Open tool — GIF MakerImage Palette Extractor
Find representative colors in a local image and copy the palette as HEX.
Open tool — Image Palette ExtractorRound Image Corners
Round one or more corners of a photo and save a PNG with transparent corners.
Open tool — Round Image CornersImage Brightness and Contrast
Adjust a photo or screenshot’s brightness and contrast and save a full-size PNG.
Open tool — Image Brightness and ContrastImage Splitter
Split a photo into rows, columns or a grid and download the PNG tiles as a ZIP.
Open tool — Image SplitterImage Color Picker
Pick a local image pixel and copy its color and transparency.
Open tool — Image Color PickerImage Comparison
Compare two photos or screenshots and see exact pixel changes when their oriented dimensions match.
Open tool — Image ComparisonImage to Text (OCR)
Recognize printed text in local PNG or JPEG images, choose a language and review or correct the result before copying or downloading.
Open tool — Image to Text (OCR)Aspect Ratio Calculator
Find a width-to-height ratio or calculate a matching pixel size from one target dimension.
Open tool — Aspect Ratio CalculatorImage Compressor
Try to fit a JPEG, PNG or WebP within a target file size, with measured results and optional smaller dimensions.
Open tool — Image CompressorPhoto Contact Sheet
Arrange photos in a numbered grid and save a PDF for review or printing.
Open tool — Photo Contact SheetHEIC to JPG
Convert supported HEIC photos locally into full-size JPG copies, with quality and background controls and verified individual or ZIP downloads.
Open tool — HEIC to JPGImage Converter
Convert supported PNG, JPEG and WebP images locally with batch targets, transparency, background and quality controls, then review and download the encoded files.
Open tool — Image ConverterPhoto Collage Maker
Arrange local photos in a grid, adjust crops and spacing, and download PNG or JPEG.
Open tool — Photo Collage MakerRotate & Flip Images
Rotate or mirror a local batch of static PNG, JPEG and WebP images, then review and download the processed results.
Open tool — Rotate & Flip ImagesImage Cropper
Crop one local JPEG, PNG or WebP to exact pixels with visual and numeric controls. Download PNG or JPEG.
Open tool — Image CropperImage Resizer
Resize a JPG, PNG or WebP image by pixels or percentage, preview the result and download it.
Open tool — Image ResizerPixel Density Calculator (PPI)
Calculate screen PPI from native resolution and diagonal, and compare the linear pixel density of two screens.
Open tool — Pixel Density Calculator (PPI)