Self-Hosted · Docker Image

Every image
format. Zero cloud.imgcompress

Convert 70+ formats, compress in bulk, and remove backgrounds with local AI. Everything runs inside your container, so your files stay private. Privacy is where it really shines.

Open Source
Free forever
localhost:3001
ImgCompress web UI — drag-and-drop interface for converting, compressing and removing backgrounds from images
UI variant
Local AI · 100% Offline

See background removal in action

Drag the handle to compare. The AI runs entirely on your hardware — no API call, no subscription, no file ever leaves your server.

Original landscape photo before AI background removal
Landscape photo with background removed by local AI — transparent PNG
OriginalAI removed
Runs on CPU
Bundled AI model — no download needed
Works fully offline
Capabilities

Everything in one container

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

01

70+ Format Support

HEIC, HEIF, PSD, AVIF, EPS, PDF and more. 10 formats are fully tested and confirmed; 60+ additional ones are supported and likely to work too.

Input + Output
02

Local AI Background Removal

A bundled AI model runs entirely on your hardware. No API key needed, no subscription, your files stay local. Drop an image, get a clean cutout.

100% Offline AI
03

Smart PDF Creation

Convert image batches to structured A4 PDFs with automatic pagination. Long screenshots split cleanly across pages without any manual tweaking.

04

Batch Compression

Multi-core parallel processing. Shrink an entire photo library in one job with control over quality targets and output format.

05

Air-Gap Ready

Once pulled, runs with no internet connection needed. Works well for private networks, NAS drives, and homelabs where you want things kept local.

06

Web UI + CLI

A clean browser interface for day-to-day use and a full CLI for scripting pipelines. Both come inside the same image, nothing extra to install.

Format support

Every format you'll encounter

Highlighted formats are tested and confirmed working. The rest are likely to work but haven't been fully validated yet.

HEICHEIFPNGJPGJPEGICOEPSPSDPDFAVIFAPNGAVIFSBLPBMPBUFRBWCURDCXDDSDIBEMFFITFITSFLCFLIFTCFTUGBRGIFGRIBH5HDFICBICNSIIMIMJ2CJ2KJFIFJP2JPCJPEJPFJPXMPEGMPGMSPPBMPCDPCXPFMPGMPNMPPMPSPXRQOIRASRGBRGBASGITGATIFTIFFVDAVSTWEBPWMFXBMXPM
Privacy by design

What "self-hosted" actually means

Your files stay on your hardware. Everything runs locally, with no external calls, no telemetry, and no cloud dependency.

No cloud processing

Conversions, compression, and AI inference all run locally. Your images never leave your machine, not even for telemetry.

No telemetry

No analytics, no crash reporting, no feature flags phoning home. The container is completely silent on the network after startup.

Offline after pull

Once pulled, the image runs with no internet connection needed. It is open source, so it is free forever. No license checks, no subscriptions, no expiry.

Workflow

Three steps

01
Step · 01

Drag & Drop

Drop any file into the web interface. HEIC from your iPhone, PSD from your designer, RAW from your camera — anything works instantly.

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 local AI model, and a PDF engine into a single Docker image. The community has now pulled it tens of thousands of times — the pain was clearly shared.

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