> ## Content Index
> Fetch the complete content index at: https://blog.uptime.bet/llms.txt
> Use this file to discover other available public pages before exploring further.

# ConvertX: Self-Host Your Own File Converter for Over a Thousand Formats with Docker Compose
- URL: https://blog.uptime.bet/convertx-self-hosted-file-converter-docker/
- Published: 2026-12-02T08:00:00.000Z
- Updated: 2026-12-02T08:00:00.000Z
- Description: ConvertX is an AGPL-3.0 web app that wraps FFmpeg, LibreOffice, Pandoc, ImageMagick, Calibre and more behind one simple upload page. Here is what v0.20.0 can do and how to run it safely with Docker Compose.
- Author: Alexandre Nebeling
- Tags: Trending, Self-Hosted, Open Source, Docker, Homelab, Productivity, Privacy, ConvertX

We have all been there: you need a HEIC photo as a JPEG, a DOCX as a PDF, a WebM clip as MP4 or an EPUB for an old e-reader, and the quickest search result is some "free online converter" covered in ads that wants you to upload your file to a server you know nothing about. For a holiday photo that may be fine. For a payslip, a contract or a scan of your ID it really is not.

**ConvertX** is the self-hosted answer to that problem. It is a small web app that sits in front of a whole toolbox of proven command-line converters and gives you one clean upload page for all of them. With roughly **19,800 GitHub stars**, a steady stream of new contributors and commits as recent as late November 2026, it is one of the most popular projects in the self-hosted space right now. Let's take a look.

## What is ConvertX?

[ConvertX](https://github.com/C4illin/ConvertX?ref=blog.uptime.bet) describes itself as a self-hosted online file converter that supports over a thousand formats. It does not reinvent conversion itself. Instead, the Docker image bundles well-known tools such as FFmpeg, LibreOffice, Pandoc, ImageMagick, GraphicsMagick, Vips, Inkscape, Calibre and XeLaTeX, and ConvertX picks the right one based on the file you upload and the target format you choose.

The basics, checked against the repository today:

- **License:** AGPL-3.0.
- **Stack:** TypeScript on Bun with the Elysia web framework; user accounts and job history are stored in SQLite inside the data folder.
- **Docker image:** `ghcr.io/c4illin/convertx` (GitHub Container Registry) or `c4illin/convertx` (Docker Hub), built for `linux/amd64` and `linux/arm64`, so it also runs on a Raspberry Pi 4/5 class device.
- **Port:** the web UI listens on **3000** (changeable with `PORT`).
- **Current version:** v0.20.0, released on 28 October 2026\. The `:latest` tag follows releases, `:main` follows every commit.

## Key features

- **One UI, many converters.** The README lists more than twenty back ends, among them FFmpeg for video and audio, LibreOffice for office documents (including PDF to DOCX since v0.18.0), Pandoc for markup formats, Calibre for e-books, libheif for HEIC, libjxl for JPEG XL, Assimp for 3D assets, Potrace and VTracer for turning raster images into vectors, Dasel for JSON/TOML/YAML/CSV/XML, Microsoft's Markitdown for "anything to Markdown", msgconvert for Outlook `.msg` files and a VCF-to-CSV contact converter.
- **Batch conversions.** Drop several files at once and download the results one by one or as a single archive.
- **Search for targets.** After uploading, you type the format you want and ConvertX shows which converters can produce it.
- **Accounts and history.** Multiple user accounts, a history page with job details, and delete buttons for single jobs or several at once.
- **Automatic cleanup.** By default, files older than 24 hours are removed, so the server does not slowly fill up with forgotten uploads.
- **Homelab-friendly knobs.** Run the conversion processes as a normal user via `PUID`/`PGID`, pass hardware acceleration flags to FFmpeg, serve it under a sub-path, limit concurrent jobs or change the branding in the header.

![ConvertX conversion page with an uploaded PDF and target formats from vips and graphicsmagick shown as buttons](https://blog.uptime.bet/content/images/2026/12/convertx-convertx-preview.webp)

After uploading a PDF, ConvertX lists every target format it can produce, grouped by converter. [Source: C4illin/ConvertX README](https://github.com/C4illin/ConvertX/blob/main/images/preview.png?ref=blog.uptime.bet) (AGPL-3.0)

## What's new in recent releases

ConvertX moves quickly. A short summary of the last few releases from the GitHub release notes:

- **v0.16.0 (December 2025):** a `/healthcheck` endpoint, proper delete buttons in the history, and a fix for **CVE-2025-66449**. If you still run something older, update.
- **v0.17.0 (January 2026):** the Markitdown and VCF-to-CSV converters plus bulk job deletion.
- **v0.18.0 (June 2026):** PDF to DOCX via LibreOffice, a configurable `PORT`, a move to Debian testing as the base image and a **fix for a path traversal vulnerability** in the conversion API.
- **v0.19.0 (September 2026):** `PUID`/`PGID` support so conversions no longer run as root, custom branding, spreadsheet conversions and the pdftops converter.
- **v0.20.0 (October 2026):** DjVu support, a nicer login failure page, cover art handling fixes for audio conversions and a fix for very long auto-delete intervals.

## Why self-host a file converter?

The obvious reason is privacy: your files never leave your network. But there are practical reasons too. There are no upload size limits other than your own disk, no daily quotas, no watermarks and no "upgrade to Pro" pop-ups. And because ConvertX bundles the tools in one container, you do not have to keep FFmpeg, LibreOffice and a full TeX distribution installed on your laptop just to convert a file twice a year. Everyone in the household can use it from the browser, including on a phone.

## Installing ConvertX with Docker Compose

You need a host with Docker and the Compose plugin. Be aware that the image is big because it ships LibreOffice, Calibre, FFmpeg and TeX Live, so plan for a few gigabytes of disk space for the image alone.

### 1\. Create a folder and find your user ID

```bash
mkdir -p ~/convertx/data && cd ~/convertx
id -u   # e.g. 1000
id -g   # e.g. 1000

```

### 2\. Generate a secret

ConvertX signs its login tokens with `JWT_SECRET`. If you leave it unset, a random value is generated on every start, which means everyone gets logged out after each container restart or update. Generate a fixed one:

```bash
openssl rand -hex 32

```

### 3\. Write the compose file

Create `compose.yaml`:

```yaml
services:
  convertx:
    image: ghcr.io/c4illin/convertx:v0.20.0
    container_name: convertx
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - JWT_SECRET=replace-with-the-output-of-openssl-rand
      - ACCOUNT_REGISTRATION=false
      - AUTO_DELETE_EVERY_N_HOURS=24
      # - HTTP_ALLOWED=true   # only for testing over plain http on your LAN
    volumes:
      - ./data:/app/data
    healthcheck:
      test: ["CMD", "curl", "-fsS", "http://localhost:3000/healthcheck"]
      interval: 60s
      timeout: 5s
      retries: 3

```

A few notes on this file:

- I pin the release tag (`v0.20.0`) instead of `latest`, so updates happen when you decide, not when the container gets recreated. Bump the tag after reading the release notes.
- `PUID`/`PGID` should match the IDs from step 1\. The container starts as root, fixes the ownership of `/app/data` and then runs the app as that user.
- `curl` is installed in the image, so the healthcheck against the built-in `/healthcheck` endpoint works out of the box. Change the URL if you set a different `PORT` or a `WEBROOT`.
- `TZ` is read by the app (timezone support was added in v0.13.0) and keeps history timestamps right; set it to your own zone.

### 4\. Start it and create your account

```bash
docker compose up -d
docker compose logs -f convertx

```

Open `http://localhost:3000` on the host itself. **Create your account right away:** on a fresh install, whoever opens the page first can register the first account. With `ACCOUNT_REGISTRATION=false`, nobody can sign up after that.

If you open it from another machine via plain `http://<server-ip>:3000`, the login will not stick, because the session cookie requires HTTPS. That is intentional. Either put ConvertX behind a reverse proxy with a certificate (recommended) or set `HTTP_ALLOWED=true` temporarily for a test on your LAN.

## Putting it behind a reverse proxy

Any reverse proxy works: Traefik, Caddy, Nginx Proxy Manager or [Nginx UI](https://blog.uptime.bet/nginx-ui-self-hosted-nginx-web-ui-docker/). A minimal Caddy example:

```
convert.example.com {
    reverse_proxy convertx:3000
}

```

When you put a proxy in front, remove the `ports:` mapping or bind it to `127.0.0.1:3000:3000` so the app is not reachable around the proxy. If you want to share it with family outside your home, a tunnel such as [Pangolin](https://blog.uptime.bet/pangolin-self-hosted-cloudflare-tunnel-alternative-docker/) keeps your router closed. Want to serve it under a path like `example.com/convert/`? Set `WEBROOT=/convert`.

Remember to raise the upload size limit in your proxy if you plan to convert large videos, since many proxies have a small default body size.

## Configuration tips

All environment variables are optional; these are the ones worth knowing:

| Variable                            | Default          | What it does                                                               |
| ----------------------------------- | ---------------- | -------------------------------------------------------------------------- |
| JWT\_SECRET                         | random per start | Signs login tokens; set it to stay logged in across restarts               |
| ACCOUNT\_REGISTRATION               | false            | Lets new users sign up (the first account always works)                    |
| ALLOW\_UNAUTHENTICATED              | false            | Use without login; only for a trusted local network                        |
| HTTP\_ALLOWED                       | false            | Allows logins over plain HTTP                                              |
| AUTO\_DELETE\_EVERY\_N\_HOURS       | 24               | Deletes files older than N hours; 0 disables it                            |
| MAX\_CONVERT\_PROCESS               | 0 (unlimited)    | Caps parallel conversions, useful on small hardware                        |
| FFMPEG\_ARGS / FFMPEG\_OUTPUT\_ARGS | empty            | Extra FFmpeg input/output flags, e.g. \-hwaccel vaapi or \-preset veryfast |
| WEBROOT                             | empty            | Serve under a sub-path                                                     |
| BRANDING                            | ConvertX         | Custom name in the header (max 26 characters)                              |
| HIDE\_HISTORY                       | false            | Hides the history page                                                     |
| LANGUAGE                            | en               | BCP 47 tag for date formatting                                             |

**Small server?** Set `MAX_CONVERT_PROCESS=2` or similar. A few parallel FFmpeg or LibreOffice jobs can easily saturate the CPU of a mini PC or a Pi.

**Hardware-accelerated video:** `FFMPEG_ARGS=-hwaccel vaapi` only helps if the GPU device is also passed into the container. The project collects details and user experiences in [issue #190](https://github.com/C4illin/ConvertX/issues/190?ref=blog.uptime.bet).

**Monitoring:** point an HTTP monitor in [Uptime Kuma](https://blog.uptime.bet/uptime-kuma-2-self-hosted-uptime-monitoring-docker/) at `https://convert.example.com/healthcheck`; it returns `{"status":"ok"}` without login.

**Single sign-on:** ConvertX has its own simple accounts and no built-in OIDC. If you want everything behind one login such as [Pocket ID](https://blog.uptime.bet/pocket-id-self-hosted-passkey-sso-oidc-docker/), you need a forward-auth layer in your reverse proxy.

**Backups:** everything lives in `./data`: the SQLite database with users and history plus uploaded and converted files. Since files are deleted automatically, the database is really the only thing worth backing up, and even losing it only costs you your accounts.

## Limitations

- **Security warnings matter here.** ConvertX feeds user uploads into a long list of complex parsers. The project has had a CVE and a path traversal fix in the past year, and the README explicitly warns never to expose it to the internet with `ALLOW_UNAUTHENTICATED` or `ACCOUNT_REGISTRATION` enabled. Only give access to people you trust, and keep it updated.
- **Large image.** Bundling LibreOffice, Calibre and TeX Live makes the image heavy. If you only ever convert images, it is a lot of weight to carry.
- **Pre-1.0 software.** Releases still bring notable changes (v0.19.0 changed how permissions work), so read the release notes before updating.
- **Quality depends on the back end.** ConvertX is a front end; a complex DOCX to PDF conversion is exactly as good as LibreOffice makes it.
- **No API documentation or editing.** It converts files; it is not a PDF editor and there is no documented public API for automation.

## ConvertX vs. Stirling PDF and BentoPDF

These tools overlap a little, but solve different problems. [Stirling PDF](https://blog.uptime.bet/stirling-pdf-self-hosted-pdf-editor-api-docker/) and [BentoPDF](https://blog.uptime.bet/bentopdf-self-hosted-pdf-toolkit-docker/) are PDF toolkits: merge, split, compress, OCR, sign and edit PDFs, with some conversion to and from PDF on top. ConvertX is broad rather than deep: it does not edit PDFs at all, but it handles video, audio, images, e-books, data files, 3D models and documents in one place. Many homelabs end up running ConvertX next to one of the PDF tools. And once your documents are in the right format, [Paperless-ngx](https://blog.uptime.bet/paperless-ngx-3-self-hosted-document-management-docker/) is a good place to archive them.

## Conclusion

ConvertX is one of those apps you install "just to try" and then reach for every week. It replaces a whole category of sketchy websites with a single container, keeps your files at home and is easy to set up. Set a `JWT_SECRET`, create your account immediately, put it behind HTTPS, keep it away from the open internet and pin your version, and you have a very useful tool for the whole household.

## Sources

- ConvertX repository and README: [https://github.com/C4illin/ConvertX](https://github.com/C4illin/ConvertX?ref=blog.uptime.bet)
- ConvertX releases (v0.16.0 – v0.20.0): [https://github.com/C4illin/ConvertX/releases](https://github.com/C4illin/ConvertX/releases?ref=blog.uptime.bet)
- Container images: [https://github.com/C4illin/ConvertX/pkgs/container/ConvertX](https://github.com/C4illin/ConvertX/pkgs/container/ConvertX?ref=blog.uptime.bet) and [https://hub.docker.com/r/c4illin/convertx](https://hub.docker.com/r/c4illin/convertx?ref=blog.uptime.bet)
- License (AGPL-3.0): [https://github.com/C4illin/ConvertX/blob/main/LICENSE](https://github.com/C4illin/ConvertX/blob/main/LICENSE?ref=blog.uptime.bet)
- Hardware acceleration discussion: [https://github.com/C4illin/ConvertX/issues/190](https://github.com/C4illin/ConvertX/issues/190?ref=blog.uptime.bet)