Our Network


Coming Soon


Coming Later

PNG in a Rectangle Fitter

Online PNG Maker

World's simplest online Portable Network Graphics (PNG) in rectangle fitter. Just import your PNG image in the editor on the left and you will instantly get a PNG fitted in a rectangle on the right. Free, quick, and very powerful. Import a PNG – fit a PNG in a rectangle. Created with love by team Browserling.

PNG in a Rectangle Fitter

Online PNG Maker

World's simplest online Portable Network Graphics (PNG) in rectangle fitter. Just import your PNG image in the editor on the left and you will instantly get a PNG fitted in a rectangle on the right. Free, quick, and very powerful. Import a PNG – fit a PNG in a rectangle. Created with love by team Browserling.

Tool Options

Fit Type

Center or resize the PNG to make it fit the rectangle.
Make the PNG fit in the rectangle with at least two opposite sides touching the rectangle.
Fully-fit a PNG in a rectangle.

Rectangle Dimensions

Rectangle width.
Rectangle height.
{image}

Rectangle Fill Color

Fill empty rectangle areas with this color.

What Is a PNG in a Rectangle Fitter?

This browser-based utility allows you to fit a PNG file in a rectangle of any size. You can put a smaller PNG in a larger rectangle or fit it in a smaller square, all while maintaining its original proportions. For example, if you have a PNG of size 300×400 and you want to make it of size 500×500, then this program will put it in the 500×500 area so that it still looks nice. Similarly, if you have a PNG with dimensions 600×600, then you can make it smaller and fit it in a 100×200 region. This tool offers several ways to place a PNG in a rectangle. The "Regular Fit" method never crops the PNG and always preserves the aspect ratio of the original PNG photo dimensions. For example, if the rectangle or the square is larger than the photo, then the tool places it exactly in the center and maintains its original dimensions. However, if the photo is larger than the rectangle, then the tool will proportionally reduce the dimensions so that they fit snugly inside the rectangle. In the "Full Fit" mode, the PNG always fits into the given rectangle entirely with at least two sides touching the edges of the rectangle. That is, if the PNG is placed in a larger rectangle, then the program proportionally stretches the image until it aligns with any two sides of the rectangle. If the "Zoom Fit" option is enabled, then the PNG fitting algorithm will resize PNG to such dimensions that both its width and height fully fit the given rectangle. When a PNG is fully fitted, there are no empty regions in the rectangle but the image may have either top and bottom, or left and right sides cut off. In the width and height options, you can specify the dimensions of the rectangle (that is, the dimensions of the output PNG), and in the fill color option, you can specify the color that will be used to paint empty rectangle regions (if any). Png-abulous!

What Is a PNG in a Rectangle Fitter?

This browser-based utility allows you to fit a PNG file in a rectangle of any size. You can put a smaller PNG in a larger rectangle or fit it in a smaller square, all while maintaining its original proportions. For example, if you have a PNG of size 300×400 and you want to make it of size 500×500, then this program will put it in the 500×500 area so that it still looks nice. Similarly, if you have a PNG with dimensions 600×600, then you can make it smaller and fit it in a 100×200 region. This tool offers several ways to place a PNG in a rectangle. The "Regular Fit" method never crops the PNG and always preserves the aspect ratio of the original PNG photo dimensions. For example, if the rectangle or the square is larger than the photo, then the tool places it exactly in the center and maintains its original dimensions. However, if the photo is larger than the rectangle, then the tool will proportionally reduce the dimensions so that they fit snugly inside the rectangle. In the "Full Fit" mode, the PNG always fits into the given rectangle entirely with at least two sides touching the edges of the rectangle. That is, if the PNG is placed in a larger rectangle, then the program proportionally stretches the image until it aligns with any two sides of the rectangle. If the "Zoom Fit" option is enabled, then the PNG fitting algorithm will resize PNG to such dimensions that both its width and height fully fit the given rectangle. When a PNG is fully fitted, there are no empty regions in the rectangle but the image may have either top and bottom, or left and right sides cut off. In the width and height options, you can specify the dimensions of the rectangle (that is, the dimensions of the output PNG), and in the fill color option, you can specify the color that will be used to paint empty rectangle regions (if any). Png-abulous!


PNG in a Rectangle Fitter Examples

Click to try!
click me

Fit a PNG in a Larger Square

In this example, we fit a regular rectangular PNG photo of the coast line in a larger square. The original photo is 460 by 300 pixels and the output square is 500 by 500 pixels. We use the regular fit mode to preserve photo width and height ratio and place it perfectly in the center of the new square. We fill the area of the square around the PNG with white color. (Source: Pexels.)

Required options
These options will be used automatically if you select this example.
Center or resize the PNG to make it fit the rectangle.
Rectangle width.
Rectangle height.
Fill empty rectangle areas with this color.
click me

Fit a Square PNG in a Rectangle

In this example, we use the full fit method and place a square PNG in a rectangle. The full fit mode proportionally increases the picture dimensions so that they tightly fit in the rectangle. The output picture is 800 by 600 pixels and the empty space on the sides of the picture is filled with transparent pixels. (Source: Pexels.)

Required options
These options will be used automatically if you select this example.
Make the PNG fit in the rectangle with at least two opposite sides touching the rectangle.
Rectangle width.
Rectangle height.
Fill empty rectangle areas with this color.
click me

Fit a PNG by Zooming

In this example, we're working with a horizontal PNG image of a dandelion and we want to place it in a samaller vertical rectangle. To do it, we enable the zoom fit mode, which means that the program fills the new rectangle as much as possible and crops the edges that don't fit. (Source: Pexels.)

Required options
These options will be used automatically if you select this example.
Fully-fit a PNG in a rectangle.
Rectangle width.
Rectangle height.
Fill empty rectangle areas with this color.

All PNG Tools

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly replace any color in a PNG file with transparency.
Quickly swap colors in a PNG image.
Quickly replace all colors in a PNG with a single color tone.
Quickly create a translucent or semi-transparent PNG.
Quickly add noisy pixels (white noise) to your PNG image.
Quickly make a PNG image smaller and reduce its size.
Quickly convert a PNG graphics file to a JPEG graphics file.
Quickly convert a JPEG graphics file to a PNG graphics file.
Quickly convert a WebP image to a PNG image.
Quickly convert a PNG image to a WebP image.
Quickly convert an SVG file to a PNG image.
Quickly convert a PNG image to base64 encoding.
Quickly convert a base64-encoded image to PNG.
Quickly open and view a PNG and its components in your browser.
Quickly show how a PNG looks on various background colors.
Quickly remove the alpha channel and transparency from a PNG.
Quickly fill the alpha channel in a PNG with a specific color.
Quickly replace the alpha channel in a PNG with opaque pixels.
Quickly extract transparent areas (alpha channel) from a PNG.
Quickly get detailed information about a PNG file.
Quickly calculate the file size of a PNG image in bytes or kilobytes.
Quickly find the width, height and aspect ratio of a PNG image.
Quickly check whether the PNG is vertical or horizontal.
Quickly find the number of colors in a PNG image (and print them).
Quickly use the eyedropper to find a pixel's color in a PNG.
Quickly find the most popular colors in a PNG.
Quickly extract RGBA, CMYK, and HSL color channels from a PNG.
Quickly split a PNG into its RGB(A) components (Red, Green, Blue, and Alpha).
Quickly split a PNG into its HSL components (Hue, Saturation, Lightness).
Quickly split a PNG into its HSV components (Hue, Saturation, Value).
Quickly split a PNG into its CMYK components (Cyan, Magenta, Yellow, and Key).
Quickly split a PNG into its YCbCr components (Y, Cb, or Cr).
Quickly increase or decrease the quality of PNG images.
Quickly change the orientation of the PNG from landscape to portrait.
Quickly change the orientation of the PNG from portrait to landscape.
Quickly resize a PNG image to any size.
Quickly rotate a PNG image by an arbitrary angle.
Quickly crop a PNG image.
Quickly cut out a key part of a PNG image.
Quickly center objects within a transparent PNG image.
Quickly skew a PNG horizontally or vertically by any angle.
Quickly shift a PNG and swap its halves or quadrants.
Quickly make a PNG fit perfectly in an arbitrary size rectangle.
Quickly add text (label, caption) to a PNG picture.
Quickly superimpose a message or a signature on a PNG.
Quickly add a border around a PNG.
Quickly remove a border or decoration around a PNG.
Quickly add a background to a PNG image.
Quickly remove the background from a PNG image.
Quickly remove a specific color from a PNG image.
Quickly smooth the edges of PNG images.
Quickly flip a PNG picture horizontally.
Quickly flip a PNG picture vertically.
Quickly create a mirror version of the given PNG.
Quickly reverse the direction of a PNG image.
Quickly make copies of a PNG pic.
Quickly clone PNGs and arrange them into rows, columns, or grids.
Quickly pixelate an area of a PNG image.
Quickly blur an area of a PNG image.
Quickly hide an area in a PNG image.
Quickly sharpen an area of a PNG image.
Quickly zoom in a PNG or zoom out a PNG.
Quickly increase the width and height of a PNG.
Quickly decrease the width and height of a PNG.
Quickly change the brightness of a PNG picture.
Quickly change the contrast of a PNG picture.
Quickly convert a color PNG image to a grayscale PNG.
Quickly apply a sepia effect to a PNG photo.
Quickly change the hue of a PNG photo.
Quickly invert pixel colors in a PNG photo.
Quickly reverse colors in a specific area of a PNG image.
Quickly round the corners of a PNG picture.
Quickly make sure that the given file has the PNG format.
Quickly determine whether the PNG is entirely grayscale or not.
Quickly check if a PNG file has any transparent pixels.
Quickly generate an alpha mask of a transparent PNG.
Quickly visualize transparent regions of a PNG.
Quickly create a silhouette from a PNG image.
Quickly create a stencil from a PNG image.
Quickly replace transparency in a PNG file with a solid color.
Quickly convert a PNG graphics file to a single-frame GIF.
Quickly convert a GIF animation to a PNG picture.
Quickly convert a PNG picture to a bitmap file.
Quickly convert a bitmap image file to a PNG picture.
Quickly convert an ICO (icon) file to a PNG file.
Quickly convert a PNG image to a Data URL.
Quickly convert a Data URL to a PNG image.
Quickly convert a PNG to the list of hex codes.
Quickly convert the list of hex codes to a PNG.
Quickly convert a PNG to the list of RGB values.
Quickly convert the list of RGB values to a PNG.
Quickly optimize the quality and file size of a PNG photo.
Quickly make a symmetric copy of the given PNG.
Quickly create a single-color or multi-color PNG picture.
Quickly generate a PNG with a color spectrum.
Quickly generate a PNG with a multi-color gradient.
Quickly generate a gradient palette in PNG format.
Quickly write text and create a PNG image from it.
Quickly create a PNG from emojis and other Unicode symbols.
Quickly add JPG and WebP artifacts to a PNG photo.
Quickly create a single 1-by-1 pixel PNG file.
Quickly generate random PNG pictures.
Quickly draw a PNG image using only two colors.
Quickly turn a color PNG image into a black and white PNG.
Convert a PNG image to a single-color PNG image.
Quickly create a dithered PNG image.
Quickly decrease the number of colors in a PNG image.
Quickly create a swirl of pixels anywhere on a PNG.
Quickly reduce the number of distinct colors in any PNG image.
Quickly create a polaroid image from a PNG.
Quickly create a poster from a regular PNG image.
Quickly remove the green screen background from a PNG.
Quickly create a PNG signature with a transparent background.
Quickly change the color of a PNG signature.
Quickly improve the quality of a digital signature.
Quickly convert a colorful signature to just black-and-white.
Quickly rotate a digital signature and make it horizontal.
Quickly crop a digital signature from a PNG.
Quickly resize a digital signature.
Quickly clean up pixels around digital signature edges.
Quickly fill transparent areas of a digital signature.
Quickly convert a thin signature to a thick signature.
Quickly convert a thick signature to a thin signature.
Quickly convert a JPG signature to a transparent PNG signature.
Quickly convert a PNG signature to a JPG signature.
Quickly create a PNG that's entirely filled with just one color.
Quickly create a blank PNG with a transparent, translucent, or opaque fill.
Quickly create a PNG that's entirely filled with white noise.
Quickly erase any part of a PNG image.
Quickly extract objects by color from a PNG image.
Quickly split a PNG image into separate color-based layers.
Quickly apply a shadow effect to a PNG image.
Quickly add an outline around objects in a PNG.
Quickly remove a stroke from around objects in a PNG.
Quickly encircle objects within a PNG with an outline.
Quickly clear PNG elements from the encircled outline.
Quickly add a glowing effect to PNG image objects.
Quickly add a transparent or opaque padding to a PNG.
Quickly add extra empty space to the sides of a PNG.
Quickly remove unnecessary space around a PNG image.
Quickly swap two colors in a PNG image.
Quickly produce multiple duplicates of a PNG image.
Quickly convert any color in a logo into transparency.
Quickly replace the background color in a PNG logo.
Quickly make your logo backgrounds transparent.
Quickly add an opaque background to a transparent logo.
Quickly update colors in a logo.
Quickly rotate a PNG logo to the perfect angle.
Quickly resize a PNG logo to any size.
Quickly remove unwanted pixels from logo edges.
Quickly remove the unwanted part of the logo in PNG format.
Quickly create a monochrome version of a colorful PNG logo.
Quickly add customized text to a PNG logo.
Quickly create a unique logo from any text input.
Quickly select and extract any color used in a PNG logo.
Quickly extract and visualize the color palette of a logo.
Quickly convert a PNG logo into a unified, single-color version.
Quickly add extra space around a PNG logo.
Quickly remove extra space around a PNG logo.
Quickly apply an outline to all elements of a PNG logo.
Quickly transform a PNG logo file to a JPG format.
Quickly transform a JPG logo file to a transparent PNG format.
Quickly transform a PNG logo file to a WebP format.
Quickly transform a WebP logo file to a PNG format.
Quickly transform an SVG logo file to a PNG format.
Quickly separate a PNG logo into individual color layers.
Quickly add a shadow to all elements of a PNG logo.
Quickly align a logo to the center of a PNG.
Quickly make any icon background transparent.
Quickly replace one color in the icon with another.
Quickly create unique PNG icons from emojis.
Quickly create a grayscale version of a PNG icon.
Quickly create perfectly symmetrical PNG icons.
Quickly mirror a PNG icon horizontally or vertically.
Quickly generate a visual and textual color palette of the PNG icon.
Quickly refine and clean up PNG icon edges.
Quickly fill transparent areas of a PNG icon with a background.
Quickly extract a PNG icon from its background.
Quickly crop a PNG icon to the desired shape and size.
Quickly rotate a PNG icon clockwise or counterclockwise.
Quickly customize the dimensions of a PNG icon.
Quickly add a rectangular, rounded, or circular border around the icon.
Quickly remove a rectangular or circular border around the icon.
Quickly overlay text on a PNG icon.
Quickly turn any character or emoji into a PNG icon.
Quickly convert a PNG icon to a single solid color.
Quickly align an icon to the center of a PNG.
Quickly add an outline to a PNG icon.
Quickly extract individual color layers from a PNG icon.
Quickly add a custom shadow to a PNG icon.
Quickly create empty space around a PNG icon.
Quickly remove unwanted space around a PNG icon.
Quickly identify any color within a PNG icon.
Quickly create a perfectly square PNG icon.
Quickly create a perfectly round PNG icon.
Quickly convert JPG icons to PNG format with transparency.
Quickly convert PNG icons to JPG format.
Quickly convert WebP icons to PNG format.
Quickly convert PNG icons to WebP format.
Quickly increase the thickness of a PNG icon.
Quickly reduce the thickness of a PNG icon.
Quickly transform a contour-based icon into a filled design.
Quickly transform a filled icon into a contour-based design.

Coming Soon

These PNG tools are on the way!
PNG Editor

Edit a PNG in your browser.

Compare PNG Images

Compare two or more PNG images.

Slowly Reveal a PNG

Create an animation that slowly reveals a PNG image.

Convert PNG to AVIF

Convert a PNG image to an AV1 image (AVIF).

Convert AVIF to PNG

Convert an AV1 image (AVIF) to a PNG image.

Convert PNG to HEIF

Convert a PNG image to a High Efficiency Image File (HEIF).

Convert HEIF to PNG

Convert a Hide Efficiency Image File (HEIF) to a PNG image.

Convert PNG to ICO

Convert a PNG image to an ICO icon.

Convert PNG to TIFF

Convert a PNG image to a TIFF image.

Convert TIFF to PNG

Convert a TIFF image to a PNG image.

Convert PNG to PIK

Convert a PNG image to a PIK image.

Convert PIK to PNG

Convert a PIK image to a PNG image.

Convert PNG to PPM

Convert a PNG image to a PPM image.

Convert PPM to PNG

Convert a PPM image to a PNG image.

Convert PNG to BPG

Convert a PNG image to a BPG image.

Convert BPG to PNG

Convert a BPG image to a PNG image.

Convert PNG to FLIF

Convert a PNG image to a FLIF image.

Convert FLIF to PNG

Convert a FLIF image to a PNG image.

Convert PNG to PDN

Convert a PNG image to a Paint.net file.

Convert PDN to PNG

Convert a Paint.net file to a PNG image.

Convert PNG to PSD

Convert a PNG image to a Photoshop file.

Convert PSD to PNG

Convert a Photoshop file to a PNG image.

Convert PNG to SVG

Convert a PNG image to an SVG image.

Convert PNG to PDF

Convert a PNG image to an PDF document.

Convert PDF to PNG

Convert a PDF document to a PNG image (or multiple images).

Convert PNG to EPS

Convert a PNG image to an EPS file.

Convert EPS to PNG

Convert an EPS file to a PNG image (or multiple images).

Convert PNG to JFIF

Convert a PNG image to a JFIF image.

Convert JFIF to PNG

Convert a JFIF image to a PNG image.

Convert PNG to RGB

Convert a PNG image to raw RGB values.

Convert RGB to PNG

Convert RGB values to a PNG image.

Convert PNG to BGR

Convert a PNG image to raw BGR values.

Convert BGR to PNG

Convert BGR values to a PNG image.

Convert PNG to RGBA

Convert a PNG image to raw RGBA values.

Convert RGBA to PNG

Convert RGBA values to a PNG image.

Convert PNG to BGRA

Convert a PNG image to raw BGRA values.

Convert BGRA to PNG

Convert BGRA values to a PNG image.

Convert PNG to Animated GIF

Convert multiple PNGs to a GIF animation.

Convert APNG to GIF

Convert an APNG animation to a GIF image.

Convert GIF to APNG

Convert a GIF animation to an APNG image.

Convert APNG to Webp

Convert an APNG image to a Webp image.

Convert Webp to APNG

Convert a Webp image to an APNG image.

Convert APNG to MP4

Convert an APNG image to an MP4 video.

Convert MP4 to APNG

Convert an MP4 video to an APNG image.

Convert APNG to AVI

Convert an APNG image to an AVI video.

Convert AVI to APNG

Convert an AVI video to an APNG image.

Convert APNG to WMV

Convert an APNG image to a WMV video.

Convert WMV to APNG

Convert an WMV video to an APNG image.

Extract APNG Frames

Extract all frames from an APNG image.

APNG Player

Play a PNG animation (APNG) frame by frame.

Change APNG Speed

Change the playback speed of an animated PNG (APNG).

Set APNG Loop Count

Change how many times an animated PNG loops.

Reverse an APNG

Reverse the order of frames in an animated PNG (APNG).

APNG Creator

Created animated PNGs (APNGs) from input images.

APNG Checker

Check if the given PNG file is an animated PNG file (APNG).

Convert APNG to Sprite Sheet

Create a sprite sheet from all animated PNG (APNG) frames.

Convert Sprite Sheet to APNG

Create an animated PNG (APNG) from a sprite sheet.

Convert PNG to XLS

Create Excel art from a PNG image.

Create a Glitch PNG

Randomly distort data in a PNG file to make a glitched PNG.

Show Grayscale Pixels

Find all grayscale pixels in a PNG (grayscale mask).

Show Color Pixels

Find all color pixels in a PNG (color mask).

Invert Alpha Channel

Invert the alpha channel values in a PNG.

Randomize PNG Pixels

Shuffle pixels or pixel blocks in a PNG.

Sort PNG Pixels

Sort pixels or pixel blocks in a PNG by color.

Split a PNG

Break a PNG image into multiple pieces.

Create a PNG Slideshow

Generate a slideshow animation from multiple PNGs.

Create a PNG Mosaic

Generate a mosaic wall from multiple PNGs.

Hexagonalize a PNG

Convert a PNG into a hexagonal grid of pixels.

Triangulate a PNG

Convert a PNG into a triangular grid of pixels.

Convert PNG to Voronoi Diagram

Create a Voronoi diagram from a PNG image.

Add Vignette Effect to a PNG

Darken PNG corners compared to its center.

Add Kaleidoscope Effect to a PNG

Create multiple reflections of a PNG.

Add Bayer Filter to a PNG

Apply a Bayer filter on a PNG.

Add Night Vision Effect to a PNG

Make a PNG look like it was taken via night vision goggles.

Add Spherical Effect to a PNG

Make a PNG look like it's spherical.

Apply Mobius Transform on a PNG

Run a PNG through the Mobius Transform.

Convert PNG Color Space

Convert between RGB, CMYK, HSV, and HSL color spaces.

Convert PNG Bit Depth

Convert between 8-bit, 16-bit, 24-bit, and 32-bit PNG depths.

Remove Dithering from a PNG

Remove dithering from a PNG image.

Create ASCII Art from PNG

Convert a PNG to an ASCII art image.

Create PNG from ASCII Art

Convert ASCII art to a PNG image.

Create ANSI Art from PNG

Convert a PNG to an ANSI art image.

Create PNG from ANSI Art

Convert ANSI art to a PNG image.

Create Braille Art from PNG

Convert a PNG to a Braille art image.

Create PNG from Braille Art

Convert Braille art to a PNG image.

Convert Bytes to PNG

Create a PNG image from the given bytes.

Convert PNG to Bytes

Convert a PNG image to bytes.

Enhance a PNG

Increase the quality of a PNG image.

Slice a PNG

Extract a 2d slice from a PNG.

Generate All-color PNG

Create a PNG that contains all possible RGB colors.

Extract Text from a PNG

Find all textual information in a PNG image and extract it.

Create a 3D PNG

Given any 2D PNG, add 3rd dimension to it.

Remove Text from a PNG

Quickly erase text (labels, captions) from a PNG.

Remove a Watermark from a PNG

Quickly delete a watermark from a PNG.

Fix a Broken PNG

Salvage a PNG that has bad bytes in it and doesn't open.

Hide Data in a PNG

Conceal a secret message in a PNG image.

Change PNG Metadata

Update meta data of a PNG file.

Erase PNG Metadata

Delete meta data from a PNG picture.

Validate PNG

Check if the given file is a valid PNG without errors.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋

Created with love by

We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling we love to make people's lives easier, so we created this collection of online PNG tools. We created the simplest possible user interface for our tools and they are now used by millions of users every month. Behind the scenes, our online PNG tools are actually powered by our web developer tools that we created over the last couple of years. Check them out!

49K
@browserling

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!