PDF API Plans

Choose the perfect plan for you. Cancel anytime.

  • Feature Cancel anytime
  • Feature No bandwidth counted
  • Feature No Request Limits
  • Feature Unrestricted conversions
  • Feature Priority queue
  • Feature You can organize, merge, split, delete, rotate and zip your PDF files with a few lines of code.

import requests
import json

api_path = 'https://pdf.to'
url = '%s/v1/api' % api_path
files = {'file': open('static/uploads/testing.pdf', 'rb')}
params = {'convert_to': 'png'}
data = {'data': json.dumps(params)}
headers = {'Authorization': '<YOUR_API_KEY>'}
r = requests.post(
    url,
    files=files,
    data=data,
    headers=headers
)
response = r.json()
var requestParams = {
    url: "https://pdf.to/app/",
    method: "post",
    contentType: false,
    dataType: false,
    cache: false,
    processData: false
};
var fd = new FormData();
fd.append("files[0]", "example1.doc");
fd.append("data", JSON.stringify({"tool": "to_pdf"}));
requestParams.data = formData;
var p = $.ajax(requestParams);
p.then(function(response) {
    console.log(response);
});