PDFConversionAPI

PDFConversionAPI

REST API for 556 file conversions: documents, spreadsheets, presentations, images, CAD drawings, e-mail, e-books and PDF tools. Send a file to POST…

Developer tools#documents--productivity

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

REST API for 556 file conversions: documents, spreadsheets, presentations, images, CAD drawings, e-mail, e-books and PDF tools.

Send a file to POST /v2/convert/{from}/to/{to} as multipart/form-data with Authorization: Bearer . A successful conversion returns HTTP 200 and JSON with each output file base64-encoded in Files[].FileData, or a download link that works for 3 hours with StoreFile=true. Every request is synchronous; there are no background jobs or webhooks.

Get a free key by signing in with Google or GitHub at https://app.pdfconversionapi.com. The Free plan allows 250 conversions a month, files up to 10 MB and 1 conversion at a time; paid plans raise those limits, and every plan stops at its monthly limit. Pricing

Errors are JSON with the status in Code and the reason in Message. Retry 429 and 503 after the Retry-After seconds. Every response from the API carries an x-request-id header.

Docs: Quickstart · Authentication · Requests · Responses · Errors · Limits · Stored files · Conversions

Endpoints 68

Conversions

  • POSTConvert a file/v2/convert/:from/to/:toConverts the uploaded file from {from} to {to} and returns every output file in the response. The request is synchronous: the result comes back in the same…
  • POSTPDF to COMPRESS/v2/convert/pdf/to/compresspdf/to/compress with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these…
  • POSTCSV to PDF/v2/convert/csv/to/pdfcsv/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTCSV to XLSX/v2/convert/csv/to/xlsxcsv/to/xlsx with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTDOCX to HTML/v2/convert/docx/to/htmldocx/to/html with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTDOC to HTML/v2/convert/doc/to/htmldoc/to/html with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTDOCX to PDF/v2/convert/docx/to/pdfdocx/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTDOC to PDF/v2/convert/doc/to/pdfdoc/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTDOCX to PNG/v2/convert/docx/to/pngdocx/to/png with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTDOCX to JPG/v2/convert/docx/to/jpgdocx/to/jpg with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTDOC to PNG/v2/convert/doc/to/pngdoc/to/png with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTDOC to JPG/v2/convert/doc/to/jpgdoc/to/jpg with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTDWG to PDF/v2/convert/dwg/to/pdfdwg/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTDXF to PDF/v2/convert/dxf/to/pdfdxf/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTEML to PDF/v2/convert/eml/to/pdfeml/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTEPUB to PDF/v2/convert/epub/to/pdfepub/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTHEIC to JPG/v2/convert/heic/to/jpgheic/to/jpg with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTHEIF to JPG/v2/convert/heif/to/jpgheif/to/jpg with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTHEIC to PDF/v2/convert/heic/to/pdfheic/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTHEIF to PDF/v2/convert/heif/to/pdfheif/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTHTML to PDF/v2/convert/html/to/pdfhtml/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTHTML to PNG/v2/convert/html/to/pnghtml/to/png with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTHTML to JPG/v2/convert/html/to/jpghtml/to/jpg with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTIMAGES to PDF/v2/convert/images/to/pdfimages/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTJPG to PDF/v2/convert/jpg/to/pdfjpg/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTMD to PDF/v2/convert/md/to/pdfmd/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTMD to HTML/v2/convert/md/to/htmlmd/to/html with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTMD to DOCX/v2/convert/md/to/docxmd/to/docx with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTPDF to MERGE/v2/convert/pdf/to/mergepdf/to/merge with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTMSG to PDF/v2/convert/msg/to/pdfmsg/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to OCR/v2/convert/pdf/to/ocrpdf/to/ocr with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPNG to TXT/v2/convert/png/to/txtpng/to/txt with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTJPG to TXT/v2/convert/jpg/to/txtjpg/to/txt with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTTIFF to TXT/v2/convert/tiff/to/txttiff/to/txt with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to DOCX/v2/convert/pdf/to/docxpdf/to/docx with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to JPG/v2/convert/pdf/to/jpgpdf/to/jpg with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to MD/v2/convert/pdf/to/mdpdf/to/md with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to PNG/v2/convert/pdf/to/pngpdf/to/png with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to TXT/v2/convert/pdf/to/txtpdf/to/txt with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to PDFA/v2/convert/pdf/to/pdfapdf/to/pdfa with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDFA to VALIDATE/v2/convert/pdfa/to/validatepdfa/to/validate with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these…
  • POSTPNG to JPG/v2/convert/png/to/jpgpng/to/jpg with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTPNG to PDF/v2/convert/png/to/pdfpng/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPPTX to PDF/v2/convert/pptx/to/pdfpptx/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPPT to PDF/v2/convert/ppt/to/pdfppt/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to PROTECT/v2/convert/pdf/to/protectpdf/to/protect with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to ROTATE/v2/convert/pdf/to/rotatepdf/to/rotate with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTPDF to SPLIT/v2/convert/pdf/to/splitpdf/to/split with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTSVG to PDF/v2/convert/svg/to/pdfsvg/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTSVG to PNG/v2/convert/svg/to/pngsvg/to/png with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTPDF to UNPROTECT/v2/convert/pdf/to/unprotectpdf/to/unprotect with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTPDF to TEXT-WATERMARK/v2/convert/pdf/to/text-watermarkpdf/to/text-watermark with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of…
  • POSTPDF to IMAGE-WATERMARK/v2/convert/pdf/to/image-watermarkpdf/to/image-watermark with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of…
  • POSTPDF to PDF-WATERMARK/v2/convert/pdf/to/pdf-watermarkpdf/to/pdf-watermark with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of…
  • POSTWEBP to JPG/v2/convert/webp/to/jpgwebp/to/jpg with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTXLSX to CSV/v2/convert/xlsx/to/csvxlsx/to/csv with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTXLS to CSV/v2/convert/xls/to/csvxls/to/csv with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTXLSB to CSV/v2/convert/xlsb/to/csvxlsb/to/csv with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTODS to CSV/v2/convert/ods/to/csvods/to/csv with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}.
  • POSTXLSX to PDF/v2/convert/xlsx/to/pdfxlsx/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTXLS to PDF/v2/convert/xls/to/pdfxls/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTXLSB to PDF/v2/convert/xlsb/to/pdfxlsb/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • POSTODS to PDF/v2/convert/ods/to/pdfods/to/pdf with the parameters it reads. The rules for every conversion are in POST /v2/convert/{from}/to/{to}. Not supported yet. Setting one of these to…
  • GETList every conversion/v2/infoEvery conversion the API offers, as one JSON array, under main format names only. No key needed, and it doesn't count toward any limit. The list changes only…

Stored files

  • GETDownload a stored file/v2/d/:id/:nameThe file behind a Url from a StoreFile=true conversion. No key needed: anyone with the link can download the file until it expires, 3 hours after it was…
  • DELETEDelete a stored file early/v2/d/:idDeletes one stored file at once; send one request per FileId. It needs a key of the account that created the file. Deletes don't count toward the rate limit.…

Account

  • GETYour plan and this month's usage/v2/usageThe key's plan, its limits and this month's count. It uses no conversion, so it is also the way to check that a key works (200) or not (401). It counts toward…

Service

  • GETService status/healthSays that the API is up and how many conversions it offers. No key needed.

API details

Base URL
https://api.pdfconversionapi.com
Authentication
A bearer token in the Authorization header
Operations
68 operations on 68 pathsPOST 63GET 4DELETE 1
Main resources
Conversions 64Stored files 2Account 1Service 1
Response formats
application/json */*
Description format
OpenAPI 3.1.0, API version 2

How to test the PDFConversionAPI in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the PDFConversionAPI collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Convert a file” (POST /v2/convert/:from/to/:to), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the PDFConversionAPI?

REST API for 556 file conversions: documents, spreadsheets, presentations, images, CAD drawings, e-mail, e-books and PDF tools. Send a file to POST… It is listed under Developer tools and has 68 endpoints.

Who publishes the PDFConversionAPI?

It is listed from PDFConversionAPI's public API description (an OpenAPI document), not published by PDFConversionAPI on Swastik Codes. Anyone who controls pdfconversionapi.com can claim the profile by adding a DNS TXT record.

What is the base URL of the PDFConversionAPI?

Requests go to https://api.pdfconversionapi.com. Endpoint paths are added to this base URL.

How do I authenticate with the PDFConversionAPI?

With A bearer token in the Authorization header.

How many endpoints does the PDFConversionAPI have?

68 operations on 68 paths (63 POST, 4 GET, 1 DELETE). The largest groups are Conversions, Stored files, Account, Service.

Is forking the PDFConversionAPI free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.