Open-source file toolkit for PDF, image, video and audio, with local AI. 200+ tools, your server.
500K+

Open-source file toolkit for PDFs, images, video and audio. Compress, convert, OCR, remove backgrounds and transcribe on your own server instead of uploading files to websites. 200+ tools and local AI, through a web UI, REST API and pipelines.
SnapOtter 2.4 is out. The
latesttag points at2.4.0. It fixes a high-severity advisory (GHSA-jh4x-x7c5-v6vh) that let anyone with a job id download batch, pipeline and PDF-to-image results, so upgrade if other people use your instance. It also adds Optimize SVG, PDF to Markdown, Convert Font, Convert Subtitles and Resize PDF Pages, keeps animation when converting to AVIF, detects NVIDIA GPUs under WSL2, and gives back about 2 GB of RAM while AI tools sit idle. See the release notes.
SnapOtter is a privacy-first alternative to cloud file-processing services. Convert, compress, edit, and transform files in your browser while the work happens on a server you control. No uploads to third parties, no per-file pricing, no SaaS lock-in. It runs as a single container (embedded PostgreSQL 17 and Redis 8) or as a small Docker Compose stack for production, and works on AMD64 and ARM64.

One command, no setup. The container starts an embedded PostgreSQL 17 and Redis 8 on the loopback interface and keeps all data in the SnapOtter-data volume:
docker run -d --name SnapOtter -p 1349:1349 -v SnapOtter-data:/data snapotter/snapotter:latest
The same image is also published to GHCR as ghcr.io/snapotter-hq/snapotter:latest. Embedded mode turns off automatically as soon as you set DATABASE_URL, so moving to the Compose stack later is just a config change.
Open http://localhost:1349 and log in.
| Field | Value |
|---|---|
| Username | admin |
| Password | admin |
You will be asked to change your password on first login.
For production, run PostgreSQL and Redis in their own containers. Save this as compose.yaml:
services:
snapotter:
image: snapotter/snapotter:latest
ports: ["1349:1349"]
environment:
# Requests are served by a role that can only read and write rows. The
# owner connects only during boot, to migrate and to grant.
DATABASE_URL: postgres://${POSTGRES_APP_USER:-snapotter_app}:${POSTGRES_APP_PASSWORD:-snapotter_app}@postgres:5432/${POSTGRES_DB:-snapotter}
DATABASE_MIGRATION_URL: postgres://${POSTGRES_USER:-snapotter}:${POSTGRES_PASSWORD:-snapotter}@postgres:5432/${POSTGRES_DB:-snapotter}
REDIS_URL: redis://redis:6379
volumes:
- SnapOtter-data:/data
depends_on: [postgres, redis]
restart: unless-stopped
postgres:
image: postgres:17-alpine
environment:
POSTGRES_USER: ${POSTGRES_USER:-snapotter}
# Change this and POSTGRES_APP_PASSWORD for any non-local deployment.
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-snapotter}
POSTGRES_DB: ${POSTGRES_DB:-snapotter}
volumes: ["SnapOtter-pgdata:/var/lib/postgresql/data"]
restart: unless-stopped
redis:
image: redis:8-alpine
volumes: ["SnapOtter-redisdata:/data"]
restart: unless-stopped
volumes:
SnapOtter-data:
SnapOtter-pgdata:
SnapOtter-redisdata:
Then start the stack:
docker compose up -d
The first boot seeds an admin account from DEFAULT_USERNAME and DEFAULT_PASSWORD, both admin unless you set them. Set DEFAULT_PASSWORD on the snapotter service before the first start of any non-local deployment.
| Tag | Description |
|---|---|
latest | Latest release |
2.4.0 | Exact version |
2.4 | Latest patch in the 2.4.x line |
2 | Latest minor in the 2.x line |
| Architecture | GPU support | Notes |
|---|---|---|
linux/amd64 | NVIDIA CUDA | Full CUDA acceleration for AI tools |
linux/arm64 | CPU only | Raspberry Pi 4/5, Apple Silicon via Docker Desktop |
Since 2.4.0 the linux/arm64 image runs Ubuntu 24.04 with Python 3.12, the same as linux/amd64. If you had AI features installed on arm64, reinstall them from Settings → AI Features after upgrading. The app warns you when a feature needs it.
The same image runs on CPU or NVIDIA CUDA. Intel/AMD iGPU acceleration through VA-API, Quick Sync, or OpenCL is not supported for AI inference today; those systems run AI tools on CPU. See Docker Tags for benchmarks and version-pinning details.
MAX_PIPELINE_STEPS). Import and export as JSON. Batch size is unlimited in this image (MAX_BATCH_SIZE=0)./api/docs.SNAPOTTER_ANALYTICS_DEFAULT=off to start a new instance with them off, or set ANALYTICS_ENABLED=false to disable them completely.Common environment variables (set on the snapotter service). Use 0 for unlimited or auto where noted.
| Variable | Default | Description |
|---|---|---|
DATABASE_URL | (unset) | PostgreSQL connection string, and the connection every request is served on. Required for the Compose stack. Leave it and REDIS_URL unset and the container runs its own PostgreSQL and Redis. |
DATABASE_MIGRATION_URL | (unset) | Privileged connection for migrations and grants, opened at boot and closed before the first request. Set it and DATABASE_URL becomes a role that can only read and write rows. Leave it unset to run single-role. |
REDIS_URL | (unset) | Redis connection string. Same rule as DATABASE_URL. |
AUTH_ENABLED | true | Set false to run without login (creates a synthetic anonymous admin). |
DEFAULT_USERNAME | admin | Initial admin username. |
DEFAULT_PASSWORD | admin | Initial admin password. Change this for any non-local deployment. |
MAX_UPLOAD_SIZE_MB | 0 | Max upload size in MB. 0 is unlimited. |
MAX_BATCH_SIZE | 0 | Max files per batch. 0 is unlimited. |
MAX_WORKSPACE_SIZE_GB | 0 | Cap in GB on stored uploads and results. 0 is unlimited. |
CONCURRENT_JOBS | 0 | Worker concurrency. 0 auto-detects from CPU. |
PROCESSING_TIMEOUT_S | 0 | Timeout in seconds for each call into the AI sidecar. 0 is unlimited. Image, PDF and media jobs use JOB_TIMEOUT_FAST_S (120) and JOB_TIMEOUT_LONG_S (7200) instead. |
AI_SIDECAR_IDLE_TIMEOUT | 600 | Seconds the AI processes stay loaded after the last AI request before they exit and free their memory. 0 keeps them running. |
RATE_LIMIT_PER_MIN | 1000 | API requests per minute per client. 0 disables the limit. |
SESSION_DURATION_HOURS | 168 | Login session length in hours. |
TRUST_PROXY | loopback,linklocal,uniquelocal | Which peers may set the client IP via X-Forwarded-For. Private-network peers only by default, so a reverse proxy on a Docker network or a LAN is believed and a public client's forged header is not. Set true only if a proxy you control sits in front on a public address. |
ANALYTICS_ENABLED | true | Set false to disable anonymous product analytics entirely. |
SNAPOTTER_ANALYTICS_DEFAULT | on | Set off before the first boot to start a new instance with analytics switched off. An admin can still change it later. |
EXTERNAL_URL | Public URL of the instance, required for OIDC redirects. | |
SQLITE_MIGRATE_PATH | Path to a 1.x SQLite database to import on first boot. |
OIDC, SSO, S3 storage, and the full variable reference are documented in Configuration and OIDC / SSO.
| Path | Purpose |
|---|---|
/data | AI models and persistent user files; in single-container mode also the embedded PostgreSQL and Redis data. Back this up. |
/tmp/workspace | Temporary processing files and job output (auto-cleaned). Not part of /data: without a mount here, results are lost when the container is replaced. |
In the Compose stack, PostgreSQL and Redis keep their own volumes (SnapOtter-pgdata, SnapOtter-redisdata).
| Port | Purpose |
|---|---|
1349 | Web UI and REST API |
The amd64 image bundles CUDA. With an NVIDIA GPU and the NVIDIA Container Toolkit installed, add this to the snapotter service to accelerate background removal, upscaling, and transcription. OCR remains CPU-based and works unchanged on the same host:
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
The image auto-detects NVIDIA CUDA at runtime and falls back to CPU when CUDA is unavailable. Mapping /dev/dri for Intel or AMD GPUs does not accelerate SnapOtter AI tools today. Benchmarks are in Docker Tags.
v1.x stored data in SQLite. Back up the whole /data volume before you start, not just snapotter.db: 1.x runs SQLite in WAL mode, so most of your recent data is sitting in snapotter.db-wal. Then set SQLITE_MIGRATE_PATH=/data/snapotter.db on the snapotter service for the first boot and remove the variable once the migration succeeds. Your files and settings are preserved. Full walkthrough: Upgrading from 1.x.
Dual-licensed under AGPLv3 and a commercial license. Use, modify, and self-host freely under the AGPLv3; if you run a modified version as a network service, you must make your source available under the AGPLv3. For proprietary or SaaS use where source disclosure is not suitable, a commercial license is available. Contact [email protected].
docker pull snapotter/snapotter:latest