Compress every
image format. Zero cloud.ImgCompress, your self-hosted image toolbox.

An easy web app for everyone, no IT skills needed. Make images smaller, convert 70+ formats, edit them, make them bigger with AI and remove backgrounds. The AI is already built in. Private, offline, free and open source.

●
Open Source
Free forever
localhost:3001
ImgCompress web UI — drag-and-drop interface for converting, compressing and removing backgrounds from images
UI variant
Image editor · In your browser

Edit images right in your browser

Crop, pick an exact size, add text and logos, or make a YouTube thumbnail, then convert it in the same step.

localhost:3001
Crop & resize
Text & logos
YouTube thumbnails
Read the image editor guide
AI upscaling · Built in

Upscale small images with AI

The built-in AI makes small photos and drawings bigger and sharper. Just switch it on: no special graphics card, no upload.

Same spot, same size. Left: the original, just enlarged. Right: AI upscaling (Anime), done by the AI built into ImgCompress, inside your own container. Nothing is uploaded, your images never leave your server. Drag to compare.
A tiny drawing (118 px) made 4x bigger. Left: normal enlargement. Right: AI upscaling (Anime), done by the AI built into ImgCompress, inside your own container. Nothing is uploaded, your images never leave your server. The second slider zooms in on one nail.
Up to 16K
Photos & drawings
No upload
Read the AI upscaling guide
Built-in AI · Works offline

See background removal in action

Drag the handle to compare. The AI is already built in and runs on your own computer: nothing to install, no subscription, and your files stay with you.

Original landscape photo before AI background removal
Landscape photo with background removed by AI, now see-through (transparent PNG)
OriginalAI removed
Already built in
Nothing to install
Works offline
Capabilities

Everything in one container

Format conversion, compression, editing, AI upscaling, background removal and PDF export, all in one container.

01

71 Input Formats

HEIC, PSD, EPS, SVG, PDF, AVIF and more. 49 pass automated conversion tests. Export to JPEG, PNG, WebP, AVIF, ICO or PDF.

Input + Output
02

AI Background Removal

The AI is already built in. Nothing to install, no account, no subscription, and your files stay with you. Drop an image, get a clean cutout.

Built-in AI
03

Smart PDF Creation

Turn a bunch of images into a neat A4 PDF. Long screenshots are split across pages for you.

04

Batch Compression

Make a whole photo library smaller in one go. You choose the quality and the format.

05

Works Offline

After the first download, no internet is needed. Great for home networks, NAS drives and anywhere you want to keep things private.

06

Easy Web App

A clean web page for everyday use, no technical skills needed. For automation there is also a command line, nothing extra to install.

07

Image Editor

Crop, resize to an exact size, add a background, text or a logo, then convert. Works with mouse, keyboard and touch.

Read the Image Editor guide
New in v1.0
08

YouTube Thumbnails & Text

Start from a 1280 × 720 preset, add a title and a watermark, and export a thumbnail in a minute.

Read the YouTube Thumbnails & Text guide
New in v1.0
09

AI Upscaling

Make small photos and drawings bigger and sharper, up to 16K. Built in, no special graphics card, no internet.

Read the AI Upscaling guide
New in v1.0
10

Smart Crop

Resize to an exact width and height and keep the important part of the picture in frame.

Read the Smart Crop guide
New in v1.0
11

SVG to PNG

Turn SVG logos and icons into sharp PNG, JPEG, WebP or PDF files at any size.

Read the SVG to PNG guide
New in v1.0
12

WebP Export

Small files for websites. Pick a quality or a maximum file size.

Read the WebP Export guide
New in v1.0
Format support

Every format you'll encounter

Blue formats are tested with real files. Outlined ones pass a test with a generated sample. Grey ones are accepted but not tested yet.

JPGPNGHEICPSDEPSPDFSVGJPEGHEIFAVIFICOWEBPGIFBMPTIFTIFFAPNGAVIFSBLPBWDDSDIBICBICNSIMJ2CJ2KJFIFJP2JPCJPEJPFJPXMSPPBMPCXPFMPGMPNMPPMPSQOIRGBRGBASGITGAVDAVSTXBMBUFRCURDCXEMFFITFITSFLCFLIFTCFTUGBRGRIBH5HDFIIMMPEGMPGPCDPXRRASWMFXPM

Export to:

JPEGPNGWEBPAVIFICOPDF
Privacy by design

What "self-hosted" actually means

Your files never leave your server. Everything runs inside your own container, with no cloud and no tracking.

No cloud

Converting, shrinking and the AI all run locally inside your container. Your images never leave your server.

No tracking

No analytics and no data sent home. After it starts, imgcompress stays quiet on the network.

Works offline

After the first download, no internet is needed. It is open source and free forever. No license checks, no subscriptions.

Workflow

Three steps

01
Step · 01

Drag & Drop

Drop any file into the web interface. HEIC from your iPhone, PSD from your designer, an SVG logo — it just works.

02
Step · 02

Pick a Task

Convert format, compress to a target size, remove the background, or export as PDF. Batch-select for bulk operations on entire folders.

03
Step · 03

Download

Results are ready in seconds. Download individually or grab everything as a ZIP. No queue, no watermarks, no limits.

Origin

Why this tool exists

I kept hitting the same wall. Every unusual format meant installing yet another app. A batch of iPhone HEIC photos. A PSD from a designer. A pile of TIFFs from a scanner. Each one needed its own dedicated tool.

And uploading personal photos to random online converters? That never felt right. Those files don't belong on someone else's server.

"Why can't one tool just handle all of this?"

— the frustration that started this project

So I packed 70+ format codecs, a built-in AI, and a PDF engine into a single Docker image. What started as a personal fix is now used by self-hosters around the world, which still feels unexpected.

HEICiPhone photos — needed a converter before other devices could open them
PSDDesign files — needed full design software just to export a simple PNG
PDFScreenshots to PDF — long captures needed A4 pagination, no tool handled it
AIBackground removal — every tool wanted a subscription or your files on their server
PrivacyOnline converters — uploading personal photos to unknown servers felt wrong
Deploy

Ready to run it?

Pull the image, open localhost:3001, start converting. About 60 seconds total.

Copied ✓
docker run -d --name imgcompress -p 3001:5000 karimz1/imgcompress:latestclick to copy
UI variant
●