> ## Documentation Index
> Fetch the complete documentation index at: https://blog.onetsolutions.net/llms.txt
> Use this file to discover all available pages before exploring further.

# ConvertX: convert any file privately on your VPS

> Run ConvertX on a VPS: a self-hosted file converter for over a thousand formats, with no online service involved. Docker Compose setup, OnetSolutions.

![ConvertX: an uploaded PDF and the output formats offered by vips and graphicsmagick](https://mintcdn.com/onetsolutions-blog/PFqVNmLj3Mq_IVRG/images/2026/11/convertx.png?fit=max\&auto=format\&n=PFqVNmLj3Mq_IVRG\&q=85\&s=beb80c007fffa1a7652333899fb43bc4)

*Published on November 26, 2026*

You convert PDFs, images or videos on online sites without knowing where your files end up: ConvertX, on a VPS, does the same job on your own server, in the browser.

## What ConvertX does for you

* **Convert** over a thousand formats from one interface: documents, images, videos, e-books, vector graphics, 3D models.
* **Keep** your files on your server: no external account, no third-party service.
* **Process** several files at once, then download the results one by one or as one archive.
* **Protect** access with a password, for one or several accounts.
* **Let** cleanup happen on its own: files older than 24 hours are deleted by default.

## At a glance

| | |
| - | - |
| License | AGPL-3.0 |
| Language | TypeScript (Bun and Elysia) |
| Latest release | v0.20.0, released October 28, 2026 |
| GitHub stars | 19,794 as of November 26, 2026 |
| Minimum resources | Not specified by the docs. The v0.20.0 image ships every converter and weighs about 1.5 GB compressed (amd64, per [Docker Hub](https://hub.docker.com/r/c4illin/convertx/tags)) |
| Repository | [github.com/C4illin/ConvertX](https://github.com/C4illin/ConvertX) |

## Install ConvertX on your VPS

Prerequisites: a Linux VPS with [Docker](https://help.onetsolutions.net/tutorials/how-to-install-docker) and its Compose plugin.

ConvertX relies on proven tools: FFmpeg for video, ImageMagick, GraphicsMagick and Vips for images, LibreOffice and Pandoc for documents, Calibre for e-books, Inkscape for vector graphics, Assimp for 3D. All of them are already in the Docker image.

Create the service directory:

```bash theme={null}
# Service directory
sudo mkdir -p /opt/convertx
cd /opt/convertx
```

Then note your user and group IDs. The README asks for `PUID` and `PGID` to match them, to avoid permission issues on the `./data` directory:

```bash theme={null}
id -u
id -g
```

This `compose.yaml` file follows the Compose example in the README. The image is pinned to v0.20.0, and port 3000 is published on the VPS itself only:

```yaml theme={null}
# /opt/convertx/compose.yaml
services:
  convertx:
    image: ghcr.io/c4illin/convertx:v0.20.0
    container_name: convertx
    restart: unless-stopped
    ports:
      # Web interface: VPS only
      - "127.0.0.1:3000:3000"
    environment:
      # Output of id -u and id -g
      - PUID=1000
      - PGID=1000
      # Long secret string that signs sessions
      - JWT_SECRET=replace-with-a-long-secret-string
    volumes:
      - ./data:/app/data
```

Replace the `JWT_SECRET` value with a long random string. Without it, ConvertX generates one at each start, and open sessions do not survive a restart.

Start the container:

```bash theme={null}
sudo docker compose up -d
```

> [!NOTE]
>
> If the logs show "unable to open database file", check the permissions of the `./data` directory. The README suggests `chown -R $USER:$USER` on that path.

## First steps

1. **Open the interface.** From your workstation, open an SSH tunnel to the VPS, then browse to `http://localhost:3000`:

   ```bash theme={null}
   ssh -L 3000:127.0.0.1:3000 user@vps-ip
   ```

   Going through `localhost` lets you log in without HTTPS, as the README describes.

2. **Create your account.** On first launch, ConvertX shows the account setup page. Do it right away: the first account created becomes yours.

3. **Convert a file.** Click "Choose a file" or drag a file into the drop zone. Look up the target format in "Search for conversions", pick it, then hit "Convert". Results download from the next page; past conversions stay under "History".

> [!TIP]
>
> Video conversions are CPU-heavy. The `MAX_CONVERT_PROCESS` variable sets how many conversions run at once, leaving headroom for the other services on the VPS.

## Check that it works

From the VPS, query the application's `/healthcheck` endpoint. It answers without authentication:

```bash theme={null}
curl http://127.0.0.1:3000/healthcheck
```

The expected response:

```json theme={null}
{"status":"ok"}
```

Compose also shows the container state:

```bash theme={null}
sudo docker compose ps
```

The `STATUS` column of the `convertx` service should start with `Up`.

## Secure access

The `compose.yaml` above publishes ConvertX on `127.0.0.1` only. The SSH tunnel from the first steps is enough to use it, with nothing else opened.

The README stresses two points. Do not leave a fresh instance reachable before you create your account: anyone could create the first one. And never expose ConvertX to the Internet with `ALLOW_UNAUTHENTICATED` or `ACCOUNT_REGISTRATION` set to `true`. Both default to `false`: keep them that way.

For remote access without a tunnel, put ConvertX behind an HTTPS reverse proxy. Do not set `HTTP_ALLOWED=true` on an instance reachable from the Internet: the README reserves it for local use. To serve ConvertX under a sub-path, such as `/convert`, use the `WEBROOT` variable.

> [!TIP]
>
> The [console firewall](https://help.onetsolutions.net/vps/firewall) adds a second barrier: allow inbound SSH only, plus HTTPS (port 443) if you add a reverse proxy.

## Limits and alternatives

ConvertX is used through its web interface; the README documents no API to automate it. Its image ships every converter, which takes room on the VPS disk.

| Alternative | Difference |
| - | - |
| [VERT](https://github.com/VERT-sh/VERT) | Converts in the browser with WebAssembly; a self-hostable daemon handles video, AGPL-3.0 license. |
| [Gotenberg](https://github.com/gotenberg/gotenberg) | An API that turns many document formats into PDF, built for your applications, MIT license. |
| [Pandoc](https://github.com/jgm/pandoc) | The universal command-line document converter, already used by ConvertX, GPL-2.0 license. |

## Going further

* [ConvertX README](https://github.com/C4illin/ConvertX/blob/v0.20.0/README.md): converters, environment variables, Docker images
* [Install Docker](https://help.onetsolutions.net/tutorials/how-to-install-docker) on your VPS
* [VPS firewall](https://help.onetsolutions.net/vps/firewall): open only the ports you need
* [VictoriaMetrics: store your Prometheus metrics](https://blog.onetsolutions.net/en/victoriametrics-vps-store-prometheus-metrics.md): another tool to host on the same VPS

No VPS at OnetSolutions yet? [Pick yours](https://onetsolutions.net) and run ConvertX in a few minutes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.