{{ summaryTitle }}

{{ summaryValue }} {{ summaryLine }} {{ requestedFormatLabel }} {{ outputDimensionsLabel }} {{ sizeChangeLabel }}
Image source and conversion settings
Drop, paste, or browse one PNG, JPEG, WebP, GIF, SVG, AVIF, BMP, ICO, HEIC, or HEIF file.
{{ sourceDropTitle }} {{ sourceDropLine }}

{{ sourceStatus }}

The browser reports when a native encoder falls back to a different MIME type.
Sizing changes happen before encoding and are reflected in every result artifact.
Enter width and height in pixels.
× px
{{ normalizedScalePercent }}%
Turn this option on when allow upscale is required.
{{ allow_upscale ? 'Upscale allowed' : 'No enlargement' }}
{{ normalizedQuality }}%
This setting matters only when decoded pixels are resized.

Preparing the current output preview.

MeasureValueReview noteCopy
{{ row.label }}{{ row.value }}{{ row.note }}
{{ tableExportAnnouncement }}

Format guidance

{{ item.title }}{{ item.status }}

{{ item.detail }}

{{ chartExportAnnouncement }}
{{ statusAnnouncement }}

The destination should decide the image format. A transparent logo, a photographic upload, a favicon, and a legacy desktop asset may show the same subject but need different combinations of transparency, compression, dimensions, and reader support.

Raster conversion rebuilds an image from decoded pixels. The source file is opened, its pixels are drawn onto a new canvas, and that canvas is encoded into another format. This creates a genuinely new file. Renaming an extension does not perform those steps, and it does not change the data inside the file.

Common image format strengths and tradeoffs
FormatUseful forMain tradeoff
PNGInterface graphics, screenshots, and transparencyLossless storage can be larger than modern photographic formats.
JPEGPhotographs and broad compatibilityLossy compression and no alpha transparency.
WebP or AVIFCompact web delivery with modern codec supportThe receiving software must support the chosen encoder and format.
BMPOlder Windows-oriented workflowsUncompressed output can be substantially larger.
ICOWindows icons and favicons with several embedded sizesSome older readers expect BMP-style payloads rather than PNG payloads.

Dimensions and file size describe different things. Width and height set the pixel grid, while the encoder and quality setting decide how that grid is stored. Cutting both dimensions in half leaves one quarter as many pixels, but the encoded byte size will not necessarily fall by exactly 75 percent because image detail and codec overhead also matter.

Transparency deserves an explicit decision. PNG, WebP, AVIF, and ICO can carry alpha in the supported output path. JPEG and BMP cannot, so transparent pixels need a matte color. The same flattening occurs when a user deliberately chooses it for an alpha-capable target.

Re-encoding is not archival preservation. Metadata, GPS coordinates, color profiles, animation timing, extra animation frames, depth maps, bursts, and companion files are not intentionally retained. Keep the original when any of those details may matter later.

How to Use This Tool:

Choose the output requirement first, then adjust geometry and compression while watching the actual encoded result.

  1. Drop, paste, or browse for one supported source image. Standard images must be below 40 MiB; HEIC and HEIF sources must be below 80 MiB.
  2. Select the Target format that matches the destination's transparency and compatibility needs.
  3. Choose original size, a maximum box, an exact canvas, or percentage scaling under Image sizing. For an exact canvas, select contain, cover, or stretch and decide whether enlargement is allowed.
  4. Set Encoding quality for JPEG, WebP, or AVIF, and choose how transparent pixels should be handled. ICO output also needs a payload-size preset.
  5. Inspect the preview, actual output format, dimensions, transparency status, and byte-size comparison before downloading.

Interpreting Results:

Use the Actual output label rather than assuming that every browser encoded the requested format. If native encoding is unavailable, a browser may return another MIME type and the downloaded extension follows the actual result.

  • Open the preview at useful zoom and check edges, text, gradients, and fine detail after resizing or lossy encoding.
  • A smaller file is not automatically better if it introduces visible artifacts, removes transparency, or loses required metadata.
  • Cover means source edges may be cropped; stretch changes proportions; contain can leave matte or transparent padding.
  • Animation inputs produce one browser-decoded still frame, not a converted animation.

Technical Details:

The conversion operates on one decoded raster frame. Geometry is planned first, pixels are centered and drawn to the planned rectangle, and encoding happens last. This ordering means every format receives the same selected dimensions and fit behavior before codec-specific compression is applied.

Transformation Core

The observable transformation is source file to decoded pixels to resized canvas to encoded output. A matte is painted before drawing whenever the target lacks alpha or flattening is selected.

Image conversion stages and effects
StageOperationMaterial effect
DecodeOpen one source image as browser-readable pixelsAnimated and multi-image sources reduce to one still frame.
PlanResolve canvas and draw dimensionsContain, cover, stretch, scale, and upscale policy determine geometry.
DrawCenter and resample the decoded frameCover clips overflow; contain can leave padding; stretch changes aspect ratio.
EncodeWrite PNG, JPEG, WebP, AVIF, BMP, or ICOCodec support, quality, alpha, and ICO payload selection determine the file.

Formula Core

For an exact canvas, contain uses the smaller axis ratio and cover uses the larger one. Without permission to upscale, any requested scale above 1 is reduced to 1.

scontain= min( WtargetWsource, HtargetHsource )
scover= max( WtargetWsource, HtargetHsource )

Draw dimensions are rounded to whole pixels after scaling.

Wdraw=round(Wsource×s) , Hdraw=round(Hsource×s)

The byte comparison uses encoded file sizes, not pixel counts.

Δsize%= Boutput-BsourceBsource ×100

Geometry Rules and Bounds

Image sizing rules and validation bounds
SettingRuleLimit or consequence
PercentageScale both axes by 1% to 400%Values above 100% enlarge only when upscale is allowed.
Maximum boxUse the smaller width or height ratioAspect ratio is preserved.
Exact containFit the whole image inside the canvasPadding may remain.
Exact coverFill the canvas with the larger axis ratioOverflowing edges are cropped.
Exact stretchScale width and height independentlyAspect ratio may change.
CanvasWhole-pixel dimensionsMaximum 12,000 px per side and 64 megapixels.
Lossy quality40 to 100Used for JPEG, WebP, and AVIF; actual codec behavior remains browser-dependent.

Privacy and Accuracy Notes:

Source decoding, resizing, encoding, preview, and download occur in the current browser tab; the image is not uploaded for conversion. Local processing does not make the result archival or identical across browsers.

  • Browser codec availability can change the actual output type, especially for newer formats.
  • Re-encoding does not intentionally preserve EXIF, GPS, profiles, animation, depth data, or companion files.
  • HEIC and HEIF collections, bursts, depth maps, and Live Photo sidecars are outside the still-image result.
  • Keep the original and test the downloaded file in the destination application before deleting any source asset.

References: