Image Compressor
Reduce image file sizes easily.
Open toolEncode images as Base64, data URI, HTML or CSS.
Encode images as Base64, data URI, HTML or CSS. Select your input, choose output settings and convert. Preview and download the result. Files are processed locally.
No. All processing is performed in your browser.
JPEG, PNG and WebP, up to 20 MB per image and 24 megapixels, with a maximum side of 8192 pixels.
PNG output avoids lossy compression. JPEG and WebP may be recompressed. Embedded metadata is discarded by drawing decoded pixels into a fresh canvas; the browser may add new encoding metadata. Visible personal information is not removed.
The metadata viewer identifies common EXIF, XMP, ICC and text containers and reads selected EXIF camera, date and GPS fields when available. It is not an exhaustive forensic metadata scanner.
Embed small icons in test HTML or CSS without a separate image request. Large images are usually better kept as separate assets.
No. It is a reversible encoding, not a way to protect confidential data.
Select an image, choose the desired output representation and copy the encoded result.
Base64 usually increases data size by roughly one third.
Reduce image file sizes easily.
Open toolCrop unnecessary background for very tight thumbnail limits.
Open toolPrepare profile photos for application forms with strict upload limits.
Open toolKeep faces and text legible for online document portals.
Open toolBalance photo detail and size for web pages and email.
Open toolAllow more room for detail in larger photos.
Open toolResize images to custom dimensions.
Open toolCrop photos precisely with aspect ratios, rotation, flip and live preview.
Open toolRotate, straighten and flip multiple photos with precise controls.
Open toolCorrect photo orientation or straighten tilted images with custom angles.
Open toolFlip photos horizontally or vertically with live previews.
Open toolCreate horizontally mirrored photos and adjust their orientation.
Open toolConvert JPEG photos to lossless PNG for editing and graphics. PNG cannot restore detail lost in JPEG.
Open toolConvert PNG graphics and photos to JPEG for compatibility and smaller files. Transparent areas are filled with a chosen color.
Open toolConvert WebP images to widely supported JPEG files for sharing and applications.
Open toolConvert JPEG photos to WebP for modern websites. Adjust quality to balance size and detail.
Open toolConvert PNG to WebP with adjustable quality and transparency.
Open toolConvert WebP to PNG while retaining transparency.
Open toolDecode Base64 images, preview and download them.
Open toolInspect image metadata and remove embedded metadata by re-encoding.
Open toolAdd text or logo watermarks to photos.
Open toolSample precise colors from image pixels.
Open toolExtract dominant colors and export palettes.
Open tool