Conversion Service in Docker
Learn how to run the Conversion Service in Docker.
Trial license
Conversion Service 6.12 and later automatically registers a built-in trial license on every fresh installation, on Windows, in Docker, and on Linux. The service starts fully licensed, so you don’t need a license key to try Conversion Service. The trial license adds a watermark to converted files and doesn’t expire.
In the Conversion Service Configurator, the trial license appears as TRIAL-LICENSE in the Key field on the License tab.
In Docker, the container registers the trial license only when you don’t pass a license key with the LICENSEKEY or LICENSEKEY_FILE environment variable.
To convert files without a watermark, replace the trial license with a full license key.
Request full license
The built-in trial license lets you try Conversion Service at no cost. To convert files without a watermark, request a full license key.
To request a full license key, follow these steps:
- Sign up or log in to the Pdftools Portal.
- On the Products page, next to the Conversion Service, click Request license.

- On the Contact us window, fill in the requested fields, and then click Submit.
After you receive your full license key, replace the trial license with it. For more details, review Add or remove a license key.
Prerequisites
The following sections use examples running with Docker Compose:
- You have Docker Compose installed to run the Conversion Service in Docker.
- You have a Windows Server or Windows machine to export configuration files.
Installing Conversion Service on Windows 10 or 11 is possible, although we recommend using it only to export the configuration files. Pdftools provides official support for the Conversion Service for the Windows Server or Docker containers listed in the Compatible operating systems. If you run the Conversion Service on Windows 10 or Windows 11 for production purposes, you may not receive our full support.
Install Conversion Service on Windows
For the Conversion Service on Windows or Windows Server machine, you need the following dependencies installed:
Install the Conversion Service on Windows Server or Windows 10 or 11 so you can export configuration files to your Docker instance with the following steps:
- Log in to the Pdftools Portal.
- On the Products page, next to the Conversion Service, click Get started or See product.

- In the Product builds section, find the
conversion-service-VERSION_NUMBER.msipackage, and then click Download . The exact filename, for example,conversion-service-6.12.0.msi, depends on the version you are installing.Ensure to download
conversion-service-VERSION_NUMBER.msinotconversion-service-client-VERSION_NUMBER.msidue to the focus of this guide. - Open the
conversion-service-VERSION_NUMBER.msiinstaller and proceed with the guided installation.1
The installation automatically registers the built-in trial license, so you don’t need to add a license key. To replace the trial license with a full license key, review Add or remove a license key.
Installation details
The conversion-service-VERSION_NUMBER.msi installs the Conversion Service itself and provides the following applications that let you configure workflow profiles and more:
- Conversion Service Configurator
- PDF Client for Conversion Service
- Conversion Service shell client (CLI)
- Licensing Gateway Service
Run Conversion Service in Docker
To run the Conversion Service in a Docker container, follow these steps:
-
Create a file named
docker-compose.yamland insert the following code:services:conversion-service:# Conversion Service image. Converts files to PDF format.image: pdftoolsag/conversion-service:IMAGE_VERSIONports:# Exposes port 13033 for external communication.- "13033:13033"Replace
IMAGE_VERSIONwith the Conversion Service version number. For example:6.12.0,6.12,6When you don’t pass a license key, containers running version 6.12.0 or later register the built-in trial license at startup, and converted files have a watermark. To convert files without a watermark, pass your full license key with the
LICENSEKEYenvironment variable:services:conversion-service:# Conversion Service image. Converts files to PDF format.image: pdftoolsag/conversion-service:IMAGE_VERSIONenvironment:# To activate the Conversion Service, pass the value of the license key.LICENSEKEY: LICENSE_KEY_VALUEports:# Exposes port 13033 for external communication.- "13033:13033"Replace
LICENSE_KEY_VALUEwith your license key. -
Optional: If you run the Conversion Service Docker instance within a machine where you also run the Conversion Service (for Windows or Windows Server), you need to free up one of the used ports. Go to the Conversion Service Configurator, open the Conversion Service tab and then click Stop. This action frees port 13033 for the Docker instance.
-
In the directory where you created the
docker-compose.yaml, run the following command:docker compose up -d
Set up licensing
By default, Conversion Service validates your license key directly, with no extra components to set up. Provide your key with the LICENSEKEY environment variable in your docker-compose.yaml. Without a key, the built-in trial license applies and converted files carry a watermark.
Optionally, route licensing through the Licensing Gateway Service (LGS) to share one license key across many Conversion Service instances or to license offline. For a Docker Compose example, review Configure containers using Docker Compose. For licensing concepts, review Conversion Service licensing.
Convert file
Learn how to convert files using the Conversion Service Docker instance through the PDF Client for Conversion Service. Convert a PDF file to PDF/A using the default configuration:
- In the PDF Client for Conversion Service, drag a PDF file to the Input box.

- Optional: If you are running the Docker instance on a machine other than the one where you installed Conversion Service on Windows, click the vertical three-dot menu, click Settings, add the IP address of your Docker instance, and then click Apply.
- In the Profile drop-down list, select the Default profile.
- Click Convert.
In the PDF Client for Conversion Service, you can select various workflows and profiles to choose specific conversion types. You can also change the filename of the output file.
Configure and export a profile
Configure a custom profile to add a QR code to converted documents and export the configuration to your Docker container:
-
In your Windows machine, open the Conversion Service Configurator, go to Workflows & Profiles.
-
Next to Archive PDF/A-2, click Add.
-
Create a name for the new profile. For example: awesome-test-profile

-
In the Processing Steps section, enable the Stamp and Annotation toggle.
-
Scroll down to the Stamp and Annotation section, and then click Add item.

-
Click Barcode Stamp, and then click Next.
-
In the Type field, select QR.
-
In the Value field, enter any text you like (it can be a website link). For example: Hello world
-
Scroll down to the Layout section, and set the Width and Height. For example, set it to 3 cm.
-
Optional: To display the stamp in the top left corner of the PDF file, edit other parameters in the Layout section as follows:

If you don’t specify any values in the Layout section, the QR code is displayed in the center of the page.
-
Click Apply, then click Apply in the Configurator again.
-
In the Changes detected dialog box, click Save & Restart Service.
-
In the Workflows & Profiles page, click the vertical three dots menu, and then click Export Profiles.

-
Select the name of the profile you want to export, for example: awesome-test-profile, or click Select All to export all profiles.

-
Click Export, and then select the file destination.
-
Edit the
docker-compose.yamlto mount the configuration file from your Windows machine:services:conversion-service:# Conversion Service image. Converts files to PDF format.image: pdftoolsag/conversion-service:IMAGE_VERSIONenvironment:# Optional: To convert files without a watermark, pass the value of your full license key.LICENSEKEY: LICENSE_KEY_VALUEIMPORT_PROFILES: /etc/convsrv/PROFILE_EXPORT_FILEports:# Exposes port 13033 for external communication.- "13033:13033"volumes:- HOST_PROFILE_DIR/PROFILE_EXPORT_FILE:/etc/convsrv/PROFILE_EXPORT_FILEReplace the following:
IMAGE_VERSION: The Conversion Service version number (for example,6.12.0,6.12, or6).LICENSE_KEY_VALUE: The Conversion Service license key. To use the built-in trial license instead, remove theLICENSEKEYvariable.HOST_PROFILE_DIR: The directory on the host machine that contains the exported profile (for example,C:/Users/john-doe/Desktop).PROFILE_EXPORT_FILE: The filename of the exported profile (for example,ProfileExport-6.12.0.export).
-
In the directory where you created the
docker-compose.yaml, run the following command:docker compose up
If you use text stamp or text annotation rather than the demonstrated QR code, ensure to install the selected font family in the Docker container. For example, the Configurator selects Calibri fonts for text stamps by default, but you must install the Calibri font family to finish the processing successfully.
Convert file using custom profile
Learn how to apply a profile created in the section Configure and export a profile. Convert a PDF file to PDF/A using your custom profile configuration:
- In the PDF Client for Conversion Service, drag a PDF file to the Input box.
- In the Profile drop-down list, select a created custom profile. For example: awesome-test-profile
- Optional: If you are running the Docker instance on a machine other than the one where you installed Conversion Service on Windows, click the vertical three-dot menu, click Settings, add the IP address of your Docker instance, and then click Apply.
- Click Convert.
Microsoft Office file conversion
The Conversion Service converts Word (DOCX), Excel (XLSX), and PowerPoint (PPTX) files to PDF out of the box using the Standard Converter. No additional configuration is required for fresh installations, and the Docker image ships with metric-compatible fonts (Carlito, Caladea, Liberation, Noto, DejaVu, and Microsoft core fonts) so that documents retain their original layout.
To convert a Microsoft Office file:
- In the PDF Client for Conversion Service, drag a Microsoft Office file to the Input box.
- In the Profile drop-down list, select a profile with Office conversion enabled. Most profiles have this option enabled by default.
- Optional: If you are running the Docker instance on a machine other than the one where you installed Conversion Service on Windows, click the vertical three-dot menu, click Settings, add the IP address of your Docker instance, and then click Apply.
- Click Convert.
If you need pixel-perfect layout preservation, password-protected files, or the legacy binary formats DOC, PPT, and PPS, configure the Office for the web service or delegate Office jobs to a Conversion Service instance running on Windows with a local Microsoft Office installation. To add corporate or proprietary fonts to the container, see Add custom fonts.
If you experience any issues during configuration or conversion, refer to the Troubleshooting in the Convert Microsoft Office files documentation.
Next steps
For more details about Docker configuration, see Set up the service in Docker page.
You learned how to run the Conversion Service in Docker, convert a file using default profile, create a custom profile, export it, and convert a file using custom profile. Review the following documentation for more details:
- Set up the service depending on your installation.
- Adapt the default profile or create a new profile for a workflow.
- Create a new workflow
There are several ways you can integrate the Conversion Service into your system:
Use PDF/A-2 instead of PDF/A-1 in Docker
The PDF/A-2 is based on a newer version of the PDF standard than PDF/A-1, more PDF features are allowed such as transparency, layers, embedded files, and a less restrictive internal file structure. For these reasons, achieve fewer conversion errors and better conversion quality with the Archive as PDF/A-2 workflow. Particularly, if you use the Conversion Service in a Docker container where document content rasterization is unavailable, use PDF/A-2 workflow instead to avoid visual differences, removed transparency, or other potential issues. For more information, review Features and limitations.