PDF Translator API Benefits

Translate PDF
The PDF Translator API can translate PDFs to other languages using Machine Learning and an AI-powered translation engine. The Web API gets detailed information about the PDF document including its properties and security information. This makes it possible for the engine to recreate the PDF with the same layout and colors as output.

Preserve Form and Layout

The PDF Translator API produces a translated PDF with the exact form and layout of the original PDF. The engine gathers the detailed information of the PDF during translation which makes it possible to put them back together in the original document’s replica.

SIGN UP FOR FREE

Different Language Support

The PDF Translator API supports over 70+ languages. You can set the original document’s language and the language you want to translate it to. The list of supported languages is available here. For example, you can translate a PDF from German to English and vice-versa.

On-Premise API Server

We have an increasing demand for on-premise API Server from businesses and enterprises. The on-premise API Server allows an organization to control the flow of confidential and sensitive documents. Please contact our customer support team to get a trial.

PDF Translator API Integrations

PDF.co Web API integrates with over 300+ online apps. See below for sample tutorials.

PDF Translator API Sample & Demo

In this demonstration, you will see how this PDF language translator works. We will use a PDF Invoice written in English and translate it to German using the /v1/pdf/translate endpoint.

The following are the images of our source PDF Invoice in English and output PDF Invoice in German.

PDF.co PDF Translator API Source PDF Invoice In English
Images of Source PDF Invoice in English and Output PDF Invoice in German

Now that we have seen the result, let’s quickly review the /v1/pdf/translate’s parameters and their corresponding functions.

Endpoint

URL: https://api.pdf.co/v1/pdf/translate
Method: POST
Parameter Description
url required. Link to the source file.
langFrom Set ID of the source language.
langTo Set ID of the output language.
password optional. The password of the PDF file.
name optional. The filename of the generated output.
encrypt optional. Enable encryption to the output file.
async optional. Runs processing asynchronously. Returns jobId to use with job/check: true or false
profiles optional. Must be a String. Set custom configuration. See profiles examples here

 

cURL Code Snippet

curl --location --request POST 'https://api.pdf.co/v1/pdf/translate' \
--header 'x-api-key: {{x-api-key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "https://bytescout-com.s3-us-west-2.amazonaws.com/files/demo-files/cloud-api/pdf-to-csv/sample.pdf",
    "name": "result-translate-en-to-de",
    "langFrom": "en",
    "langto": "de",
    "async": false
}'

Let’s see the PDF Translator API using the cURL code sample above.

You can find cURL code samples for PDF translation here.

PDF.co PDF Translator API Output PDF Invoice In German
PDF Translator API in Action

Sign Up

PDF Translator API works smoothly translating PDF files to English and other supported languages. Translate PDF documents with no hassle and get a structured output with the layout preserved!