[{"data":1,"prerenderedAt":988},["Reactive",2],{"/alternatives/pdf-co":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"dateModified":10,"author":11,"faq":12,"body":19,"_type":983,"_id":984,"_source":985,"_file":986,"_extension":987},"/alternatives/pdf-co","alternatives",false,"","PDF.co Alternative for HTML to PDF: Billed Per File","PDF.co bills HTML to PDF at 9 credits a page. 2,500 three-page invoices a month need its $49.99 plan; on PDFShift they fit the $24 plan.","2026-11-28","Cyril Nicodème",[13,16],{"question":14,"answer":15},"What does PDF.co's own comparison say about PDFShift?","Its PDF.co vs PDFShift page calls PDFShift \"the stronger specialist for Chromium-based HTML-to-PDF, dynamic JavaScript, authenticated pages, CSS and JavaScript injection, stored HTML templates, image generation, cloud-storage delivery, and parallel conversion.\" It calls PDF.co the generalist, for OCR, data extraction, editing and other document jobs.",{"question":17,"answer":18},"Can I turn off JavaScript in PDF.co's HTML to PDF?","No. PDF.co's docs for the endpoint say there's no option to disable JavaScript on the raw HTML you send. On PDFShift, send disable_javascript: true and the page renders without running its scripts.",{"type":20,"children":21,"toc":970},"root",[22,30,37,59,64,146,152,157,159,365,370,376,389,391,762,807,819,841,847,868,873,879,931,936,942,948,952,957],{"type":23,"tag":24,"props":25,"children":26},"element","p",{},[27],{"type":28,"value":29},"text","PDFShift bills a PDF as one credit up to 5 MB, whether it has one page or forty. PDF.co bills HTML to PDF by the page, 9 credits each. So count your pages before you compare plans: 2,500 three-page invoices a month fit our $24 plan, and on PDF.co they need the $49.99 Business 1 plan.",{"type":23,"tag":31,"props":32,"children":34},"h2",{"id":33},"one-invoice-1-credit-on-pdfshift-27-on-pdfco",[35],{"type":28,"value":36},"One invoice: 1 credit on PDFShift, 27 on PDF.co",{"type":23,"tag":24,"props":38,"children":39},{},[40,42,49,51,57],{"type":28,"value":41},"Our test invoice has 75 rows on A4, a header with the date and title, and a \"Page N of M\" footer. It comes out at 3 pages. We sent it to PDF.co's ",{"type":23,"tag":43,"props":44,"children":46},"code",{"className":45},[],[47],{"type":28,"value":48},"/v1/pdf/convert/from/html",{"type":28,"value":50}," three times on November 28, 2026, and each response said ",{"type":23,"tag":43,"props":52,"children":54},{"className":53},[],[55],{"type":28,"value":56},"\"credits\": 27",{"type":28,"value":58},". Then we repeated the rows four times to make a 9-page invoice, and PDF.co charged 81 credits on each of three calls.",{"type":23,"tag":24,"props":60,"children":61},{},[62],{"type":28,"value":63},"On PDFShift, both cost 1 credit, and the 9-page PDF was only 185 KB. Both APIs render with Chromium, and the PDFs matched: 3 pages, rows 1 to 33 on page 1, \"Page 1 of 3\" at the bottom. Same pages, different bill.",{"type":23,"tag":65,"props":66,"children":67},"figure",{},[68,140],{"type":23,"tag":69,"props":70,"children":72},"div",{"style":71},"display:flex;flex-direction:column;gap:16px;margin:8px 0",[73,111],{"type":23,"tag":69,"props":74,"children":76},{"style":75},"border:2px solid #6C47FF;background:#FFFFFF;border-radius:12px;padding:16px 18px",[77,101],{"type":23,"tag":69,"props":78,"children":80},{"style":79},"display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;margin-bottom:10px",[81,88],{"type":23,"tag":82,"props":83,"children":85},"span",{"style":84},"font-weight:700",[86],{"type":28,"value":87},"PDFShift",{"type":23,"tag":82,"props":89,"children":90},{},[91,93,99],{"type":28,"value":92},"1 file = ",{"type":23,"tag":94,"props":95,"children":96},"strong",{},[97],{"type":28,"value":98},"1 credit",{"type":28,"value":100},", about $0.0096 on the $24 plan",{"type":23,"tag":102,"props":103,"children":110},"img",{"src":104,"width":105,"height":106,"alt":107,"loading":108,"style":109},"/images/alternatives/pdf-co-test-pdfshift-3-pages.png",1132,514,"The 3 pages of the test invoice made by PDFShift, side by side. Page 1 holds rows 1 to 33 with a small Created via PDFShift box at the top right, page 2 continues the table, page 3 holds the last rows and the total.","lazy","display:block;width:100%;height:auto;border-radius:8px",[],{"type":23,"tag":69,"props":112,"children":114},{"style":113},"border:1px solid #DBE4F2;background:#FFFFFF;border-radius:12px;padding:16px 18px",[115,135],{"type":23,"tag":69,"props":116,"children":117},{"style":79},[118,123],{"type":23,"tag":82,"props":119,"children":120},{"style":84},[121],{"type":28,"value":122},"PDF.co",{"type":23,"tag":82,"props":124,"children":125},{},[126,128,133],{"type":28,"value":127},"3 pages × 9 = ",{"type":23,"tag":94,"props":129,"children":130},{},[131],{"type":28,"value":132},"27 credits",{"type":28,"value":134},", about $0.018 on Personal ($24.99)",{"type":23,"tag":102,"props":136,"children":139},{"src":137,"width":105,"height":106,"alt":138,"loading":108,"style":109},"/images/alternatives/pdf-co-test-pdfco-3-pages.png","The 3 pages of the same invoice made by PDF.co, side by side, with the same table rows on each page as the PDFShift version.",[],{"type":23,"tag":141,"props":142,"children":143},"figcaption",{},[144],{"type":28,"value":145},"The same 3-page invoice from each API. Cost per invoice is the plan's monthly price over the invoices its credits cover: 2,500 on our $24 plan, 1,370 on PDF.co's Personal plan (37,000 credits). The Created via PDFShift box marks a test call made without an API key. Our test, November 28, 2026.",{"type":23,"tag":31,"props":147,"children":149},{"id":148},"the-same-volume-on-each-price-list",[150],{"type":28,"value":151},"The same volume on each price list",{"type":23,"tag":24,"props":153,"children":154},{},[155],{"type":28,"value":156},"Monthly prices on November 28, 2026. Each PDF.co cell is the smallest plan with enough credits for that many documents.",{"type":28,"value":158},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":23,"tag":160,"props":161,"children":162},"table",{},[163,197],{"type":23,"tag":164,"props":165,"children":166},"thead",{},[167],{"type":23,"tag":168,"props":169,"children":170},"tr",{},[171,177,182,187,192],{"type":23,"tag":172,"props":173,"children":174},"th",{},[175],{"type":28,"value":176},"Documents a month",{"type":23,"tag":172,"props":178,"children":179},{},[180],{"type":28,"value":181},"PDFShift, any length up to 5 MB",{"type":23,"tag":172,"props":183,"children":184},{},[185],{"type":28,"value":186},"PDF.co, 1 page each",{"type":23,"tag":172,"props":188,"children":189},{},[190],{"type":28,"value":191},"PDF.co, 3 pages each",{"type":23,"tag":172,"props":193,"children":194},{},[195],{"type":28,"value":196},"PDF.co, 9 pages each",{"type":23,"tag":198,"props":199,"children":200},"tbody",{},[201,235,268,299,332],{"type":23,"tag":168,"props":202,"children":203},{},[204,210,220,225,230],{"type":23,"tag":205,"props":206,"children":207},"td",{},[208],{"type":28,"value":209},"500",{"type":23,"tag":205,"props":211,"children":212},{},[213,218],{"type":23,"tag":94,"props":214,"children":215},{},[216],{"type":28,"value":217},"$9",{"type":28,"value":219}," (500 credits)",{"type":23,"tag":205,"props":221,"children":222},{},[223],{"type":28,"value":224},"$9.99 Basic (4,500 of 16,500 credits)",{"type":23,"tag":205,"props":226,"children":227},{},[228],{"type":28,"value":229},"$9.99 Basic (13,500)",{"type":23,"tag":205,"props":231,"children":232},{},[233],{"type":28,"value":234},"$49.99 Business 1 (40,500 of 80,500)",{"type":23,"tag":168,"props":236,"children":237},{},[238,243,253,258,263],{"type":23,"tag":205,"props":239,"children":240},{},[241],{"type":28,"value":242},"1,000",{"type":23,"tag":205,"props":244,"children":245},{},[246,251],{"type":23,"tag":94,"props":247,"children":248},{},[249],{"type":28,"value":250},"$24",{"type":28,"value":252}," (2,500 credits)",{"type":23,"tag":205,"props":254,"children":255},{},[256],{"type":28,"value":257},"$9.99 Basic (9,000)",{"type":23,"tag":205,"props":259,"children":260},{},[261],{"type":28,"value":262},"$24.99 Personal (27,000 of 37,000)",{"type":23,"tag":205,"props":264,"children":265},{},[266],{"type":28,"value":267},"$99.99 Business 2 (81,000 of 159,850)",{"type":23,"tag":168,"props":269,"children":270},{},[271,276,284,289,294],{"type":23,"tag":205,"props":272,"children":273},{},[274],{"type":28,"value":275},"2,500",{"type":23,"tag":205,"props":277,"children":278},{},[279,283],{"type":23,"tag":94,"props":280,"children":281},{},[282],{"type":28,"value":250},{"type":28,"value":252},{"type":23,"tag":205,"props":285,"children":286},{},[287],{"type":28,"value":288},"$24.99 Personal (22,500)",{"type":23,"tag":205,"props":290,"children":291},{},[292],{"type":28,"value":293},"$49.99 Business 1 (67,500)",{"type":23,"tag":205,"props":295,"children":296},{},[297],{"type":28,"value":298},"$299.99 Business 3 (202,500 of 483,000)",{"type":23,"tag":168,"props":300,"children":301},{},[302,307,317,322,327],{"type":23,"tag":205,"props":303,"children":304},{},[305],{"type":28,"value":306},"5,000",{"type":23,"tag":205,"props":308,"children":309},{},[310,315],{"type":23,"tag":94,"props":311,"children":312},{},[313],{"type":28,"value":314},"$39",{"type":28,"value":316}," (5,000 credits)",{"type":23,"tag":205,"props":318,"children":319},{},[320],{"type":28,"value":321},"$49.99 Business 1 (45,000)",{"type":23,"tag":205,"props":323,"children":324},{},[325],{"type":28,"value":326},"$99.99 Business 2 (135,000)",{"type":23,"tag":205,"props":328,"children":329},{},[330],{"type":28,"value":331},"$299.99 Business 3 (405,000)",{"type":23,"tag":168,"props":333,"children":334},{},[335,340,350,355,360],{"type":23,"tag":205,"props":336,"children":337},{},[338],{"type":28,"value":339},"25,000",{"type":23,"tag":205,"props":341,"children":342},{},[343,348],{"type":23,"tag":94,"props":344,"children":345},{},[346],{"type":28,"value":347},"$99",{"type":28,"value":349}," (25,000 credits)",{"type":23,"tag":205,"props":351,"children":352},{},[353],{"type":28,"value":354},"$299.99 Business 3 (225,000)",{"type":23,"tag":205,"props":356,"children":357},{},[358],{"type":28,"value":359},"Custom (675,000 credits)",{"type":23,"tag":205,"props":361,"children":362},{},[363],{"type":28,"value":364},"Custom (2,025,000 credits)",{"type":23,"tag":24,"props":366,"children":367},{},[368],{"type":28,"value":369},"Above 500,000 credits a month, PDF.co's pricing page asks you to get in touch. Pay yearly and PDFShift costs 10 times the monthly price, so two months are free; PDF.co's annual plans are about 10% off.",{"type":23,"tag":31,"props":371,"children":373},{"id":372},"field-by-field-pdfco-to-pdfshift",[374],{"type":28,"value":375},"Field by field: PDF.co to PDFShift",{"type":23,"tag":24,"props":377,"children":378},{},[379,381,387],{"type":28,"value":380},"PDF.co has one endpoint for raw HTML and another for URLs. PDFShift takes either in ",{"type":23,"tag":43,"props":382,"children":384},{"className":383},[],[385],{"type":28,"value":386},"source",{"type":28,"value":388},". The rest maps like this:",{"type":28,"value":390},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":23,"tag":160,"props":392,"children":393},{},[394,409],{"type":23,"tag":164,"props":395,"children":396},{},[397],{"type":23,"tag":168,"props":398,"children":399},{},[400,404],{"type":23,"tag":172,"props":401,"children":402},{},[403],{"type":28,"value":87},{"type":23,"tag":172,"props":405,"children":406},{},[407],{"type":28,"value":408},"PDF.co HTML to PDF",{"type":23,"tag":198,"props":410,"children":411},{},[412,436,474,495,516,567,594,616,697,731],{"type":23,"tag":168,"props":413,"children":414},{},[415,426],{"type":23,"tag":205,"props":416,"children":417},{},[418,424],{"type":23,"tag":43,"props":419,"children":421},{"className":420},[],[422],{"type":28,"value":423},"X-API-Key",{"type":28,"value":425}," header",{"type":23,"tag":205,"props":427,"children":428},{},[429,435],{"type":23,"tag":43,"props":430,"children":432},{"className":431},[],[433],{"type":28,"value":434},"x-api-key",{"type":28,"value":425},{"type":23,"tag":168,"props":437,"children":438},{},[439,449],{"type":23,"tag":205,"props":440,"children":441},{},[442,447],{"type":23,"tag":43,"props":443,"children":445},{"className":444},[],[446],{"type":28,"value":386},{"type":28,"value":448},": HTML or a URL",{"type":23,"tag":205,"props":450,"children":451},{},[452,458,460,466,468],{"type":23,"tag":43,"props":453,"children":455},{"className":454},[],[456],{"type":28,"value":457},"html",{"type":28,"value":459},", or ",{"type":23,"tag":43,"props":461,"children":463},{"className":462},[],[464],{"type":28,"value":465},"url",{"type":28,"value":467}," on ",{"type":23,"tag":43,"props":469,"children":471},{"className":470},[],[472],{"type":28,"value":473},"/v1/pdf/convert/from/url",{"type":23,"tag":168,"props":475,"children":476},{},[477,486],{"type":23,"tag":205,"props":478,"children":479},{},[480],{"type":23,"tag":43,"props":481,"children":483},{"className":482},[],[484],{"type":28,"value":485},"format: \"A4\"",{"type":23,"tag":205,"props":487,"children":488},{},[489],{"type":23,"tag":43,"props":490,"children":492},{"className":491},[],[493],{"type":28,"value":494},"paperSize: \"A4\"",{"type":23,"tag":168,"props":496,"children":497},{},[498,507],{"type":23,"tag":205,"props":499,"children":500},{},[501],{"type":23,"tag":43,"props":502,"children":504},{"className":503},[],[505],{"type":28,"value":506},"landscape: true",{"type":23,"tag":205,"props":508,"children":509},{},[510],{"type":23,"tag":43,"props":511,"children":513},{"className":512},[],[514],{"type":28,"value":515},"orientation: \"Landscape\"",{"type":23,"tag":168,"props":517,"children":518},{},[519,558],{"type":23,"tag":205,"props":520,"children":521},{},[522,528,530,536,538,544,545,551,552],{"type":23,"tag":43,"props":523,"children":525},{"className":524},[],[526],{"type":28,"value":527},"margin",{"type":28,"value":529}," with ",{"type":23,"tag":43,"props":531,"children":533},{"className":532},[],[534],{"type":28,"value":535},"top",{"type":28,"value":537},", ",{"type":23,"tag":43,"props":539,"children":541},{"className":540},[],[542],{"type":28,"value":543},"right",{"type":28,"value":537},{"type":23,"tag":43,"props":546,"children":548},{"className":547},[],[549],{"type":28,"value":550},"bottom",{"type":28,"value":537},{"type":23,"tag":43,"props":553,"children":555},{"className":554},[],[556],{"type":28,"value":557},"left",{"type":23,"tag":205,"props":559,"children":560},{},[561],{"type":23,"tag":43,"props":562,"children":564},{"className":563},[],[565],{"type":28,"value":566},"margins: \"100px 30px 80px 30px\"",{"type":23,"tag":168,"props":568,"children":569},{},[570,583],{"type":23,"tag":205,"props":571,"children":572},{},[573,575,581],{"type":28,"value":574},"Backgrounds on by default, ",{"type":23,"tag":43,"props":576,"children":578},{"className":577},[],[579],{"type":28,"value":580},"disable_backgrounds: true",{"type":28,"value":582}," to drop them",{"type":23,"tag":205,"props":584,"children":585},{},[586,592],{"type":23,"tag":43,"props":587,"children":589},{"className":588},[],[590],{"type":28,"value":591},"printBackground: true",{"type":28,"value":593}," by default",{"type":23,"tag":168,"props":595,"children":596},{},[597,606],{"type":23,"tag":205,"props":598,"children":599},{},[600],{"type":23,"tag":43,"props":601,"children":603},{"className":602},[],[604],{"type":28,"value":605},"use_print: true",{"type":23,"tag":205,"props":607,"children":608},{},[609,615],{"type":23,"tag":43,"props":610,"children":612},{"className":611},[],[613],{"type":28,"value":614},"mediaType: \"print\"",{"type":28,"value":593},{"type":23,"tag":168,"props":617,"children":618},{},[619,666],{"type":23,"tag":205,"props":620,"children":621},{},[622,628,630,636,638,643,645,651,653,659,660],{"type":23,"tag":43,"props":623,"children":625},{"className":624},[],[626],{"type":28,"value":627},"header",{"type":28,"value":629}," and ",{"type":23,"tag":43,"props":631,"children":633},{"className":632},[],[634],{"type":28,"value":635},"footer",{"type":28,"value":637},", each a ",{"type":23,"tag":43,"props":639,"children":641},{"className":640},[],[642],{"type":28,"value":386},{"type":28,"value":644}," and a ",{"type":23,"tag":43,"props":646,"children":648},{"className":647},[],[649],{"type":28,"value":650},"height",{"type":28,"value":652},", with ",{"type":23,"tag":43,"props":654,"children":656},{"className":655},[],[657],{"type":28,"value":658},"{{page}}",{"type":28,"value":629},{"type":23,"tag":43,"props":661,"children":663},{"className":662},[],[664],{"type":28,"value":665},"{{total}}",{"type":23,"tag":205,"props":667,"children":668},{},[669,674,675,680,682,688,689,695],{"type":23,"tag":43,"props":670,"children":672},{"className":671},[],[673],{"type":28,"value":627},{"type":28,"value":629},{"type":23,"tag":43,"props":676,"children":678},{"className":677},[],[679],{"type":28,"value":635},{"type":28,"value":681}," HTML with ",{"type":23,"tag":43,"props":683,"children":685},{"className":684},[],[686],{"type":28,"value":687},"pageNumber",{"type":28,"value":629},{"type":23,"tag":43,"props":690,"children":692},{"className":691},[],[693],{"type":28,"value":694},"totalPages",{"type":28,"value":696}," classes",{"type":23,"tag":168,"props":698,"children":699},{},[700,721],{"type":23,"tag":205,"props":701,"children":702},{},[703,705,711,713,719],{"type":28,"value":704},"Waits for the network to go quiet by default; ",{"type":23,"tag":43,"props":706,"children":708},{"className":707},[],[709],{"type":28,"value":710},"delay",{"type":28,"value":712}," up to 10 s, or ",{"type":23,"tag":43,"props":714,"children":716},{"className":715},[],[717],{"type":28,"value":718},"wait_for",{"type":28,"value":720}," a function in your page",{"type":23,"tag":205,"props":722,"children":723},{},[724,730],{"type":23,"tag":43,"props":725,"children":727},{"className":726},[],[728],{"type":28,"value":729},"DoNotWaitFullLoad: false",{"type":28,"value":593},{"type":23,"tag":168,"props":732,"children":733},{},[734,743],{"type":23,"tag":205,"props":735,"children":736},{},[737],{"type":23,"tag":43,"props":738,"children":740},{"className":739},[],[741],{"type":28,"value":742},"webhook",{"type":23,"tag":205,"props":744,"children":745},{},[746,752,754,760],{"type":23,"tag":43,"props":747,"children":749},{"className":748},[],[750],{"type":28,"value":751},"async: true",{"type":28,"value":753}," with a ",{"type":23,"tag":43,"props":755,"children":757},{"className":756},[],[758],{"type":28,"value":759},"callback",{"type":28,"value":761}," URL",{"type":23,"tag":24,"props":763,"children":764},{},[765,767,772,774,779,780,785,787,792,793,798,800,805],{"type":28,"value":766},"Two rows change your output without throwing an error. PDF.co uses your print stylesheet by default, while PDFShift uses the screen stylesheet unless you send ",{"type":23,"tag":43,"props":768,"children":770},{"className":769},[],[771],{"type":28,"value":605},{"type":28,"value":773},". And where PDF.co uses the ",{"type":23,"tag":43,"props":775,"children":777},{"className":776},[],[778],{"type":28,"value":687},{"type":28,"value":629},{"type":23,"tag":43,"props":781,"children":783},{"className":782},[],[784],{"type":28,"value":694},{"type":28,"value":786}," classes, you write ",{"type":23,"tag":43,"props":788,"children":790},{"className":789},[],[791],{"type":28,"value":658},{"type":28,"value":629},{"type":23,"tag":43,"props":794,"children":796},{"className":795},[],[797],{"type":28,"value":665},{"type":28,"value":799},". Each header and footer block takes a ",{"type":23,"tag":43,"props":801,"children":803},{"className":802},[],[804],{"type":28,"value":650},{"type":28,"value":806},", so set the page's top and bottom margins to 0. Here's the request we sent for the test, trimmed to the header and footer:",{"type":23,"tag":808,"props":809,"children":814},"pre",{"className":810,"code":812,"language":813,"meta":7},[811],"language-bash","# PDFShift convert API: https://docs.pdfshift.io/api-reference/convert-to-pdf\ncurl https://api.pdfshift.io/v3/convert/pdf \\\n  -H \"X-API-Key: $PDFSHIFT_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"source\": \"\u003Chtml>...your invoice...\u003C/html>\",\n    \"format\": \"A4\",\n    \"use_print\": true,\n    \"margin\": {\"top\": \"0px\", \"bottom\": \"0px\", \"left\": \"30px\", \"right\": \"30px\"},\n    \"header\": {\"source\": \"\u003Cdiv style=\\\"font-size:10px;text-align:center\\\">Company Name | {{date}} | {{title}}\u003C/div>\", \"height\": \"100px\"},\n    \"footer\": {\"source\": \"\u003Cdiv style=\\\"font-size:10px;text-align:center\\\">Page {{page}} of {{total}}\u003C/div>\", \"height\": \"80px\"}\n  }' \\\n  -o invoice.pdf\n","bash",[815],{"type":23,"tag":43,"props":816,"children":817},{"__ignoreMap":7},[818],{"type":28,"value":812},{"type":23,"tag":24,"props":820,"children":821},{},[822,829,831,839],{"type":23,"tag":823,"props":824,"children":826},"a",{"href":825},"/register/",[827],{"type":28,"value":828},"Create a free account",{"type":28,"value":830}," and run one of your own invoices through it before you move anything: the free plan gives you 50 credits a month, with no card. We've turned HTML into PDFs since 2018, and our users give us ",{"type":23,"tag":823,"props":832,"children":836},{"href":833,"rel":834},"https://www.capterra.com/p/184246/PDFShift/reviews/",[835],"nofollow",[837],{"type":28,"value":838},"4.8 stars from 63 reviews",{"type":28,"value":840}," on Capterra.",{"type":23,"tag":31,"props":842,"children":844},{"id":843},"what-comes-back",[845],{"type":28,"value":846},"What comes back",{"type":23,"tag":24,"props":848,"children":849},{},[850,852,858,860,866],{"type":28,"value":851},"PDFShift answers with the PDF itself, and we don't keep a copy. Want a link instead? Send ",{"type":23,"tag":43,"props":853,"children":855},{"className":854},[],[856],{"type":28,"value":857},"filename",{"type":28,"value":859}," and the file stays on S3 in Paris for 2 days, or send ",{"type":23,"tag":43,"props":861,"children":863},{"className":862},[],[864],{"type":28,"value":865},"s3_destination",{"type":28,"value":867}," and it goes straight to your own bucket. We're a French company, and every conversion runs on our servers at OVH in Gravelines and Strasbourg, France. On paid plans a conversion gets 100 seconds by default, and up to 15 minutes on request.",{"type":23,"tag":24,"props":869,"children":870},{},[871],{"type":28,"value":872},"PDF.co answers with JSON: the page count, the credits used and a link to the PDF in its temporary storage, so your code makes a second request to download it. In our test, that link pointed to an Amazon S3 bucket in us-west-2, in Oregon. It lasts 60 minutes on Basic, Personal and Business 1, and 1,440 minutes on Business 2 and 3. A sync request that runs past 30 seconds fails, and async jobs get up to 3 minutes.",{"type":23,"tag":31,"props":874,"children":876},{"id":875},"other-pdfco-alternatives-for-html-to-pdf",[877],{"type":28,"value":878},"Other PDF.co alternatives for HTML to PDF",{"type":23,"tag":24,"props":880,"children":881},{},[882,884,890,892,898,900,906,908,914,916,922,923,929],{"type":28,"value":883},"Other hosted HTML to PDF APIs include cloudlayer, PDFCrowd, Api2Pdf and ",{"type":23,"tag":823,"props":885,"children":887},{"href":886},"/alternatives/docraptor/",[888],{"type":28,"value":889},"DocRaptor",{"type":28,"value":891},", which runs the Prince engine. Template builders include ",{"type":23,"tag":823,"props":893,"children":895},{"href":894},"/alternatives/pdfmonkey/",[896],{"type":28,"value":897},"PDFMonkey",{"type":28,"value":899},", pdf noodle, APITemplate and CraftMyPDF. With ",{"type":23,"tag":823,"props":901,"children":903},{"href":902},"/alternatives/gotenberg/",[904],{"type":28,"value":905},"Gotenberg",{"type":28,"value":907}," or ",{"type":23,"tag":823,"props":909,"children":911},{"href":910},"/alternatives/puppeteer/",[912],{"type":28,"value":913},"Puppeteer",{"type":28,"value":915}," you run Chromium yourself, and the upgrades are yours too. ",{"type":23,"tag":823,"props":917,"children":919},{"href":918},"/alternatives/cloudflare/",[920],{"type":28,"value":921},"Cloudflare Browser Run",{"type":28,"value":629},{"type":23,"tag":823,"props":924,"children":926},{"href":925},"/alternatives/browserless/",[927],{"type":28,"value":928},"Browserless",{"type":28,"value":930}," are hosted browser platforms.",{"type":23,"tag":24,"props":932,"children":933},{},[934],{"type":28,"value":935},"CloudConvert, PDF SDKs like Apryse and Foxit, OCR services like Amazon Textract and Google Document AI, and editors like iLovePDF and Smallpdf do other jobs than turning your HTML into a PDF.",{"type":23,"tag":31,"props":937,"children":939},{"id":938},"frequently-asked-questions",[940],{"type":28,"value":941},"Frequently asked questions",{"type":23,"tag":943,"props":944,"children":946},"h3",{"id":945},"what-does-pdfcos-own-comparison-say-about-pdfshift",[947],{"type":28,"value":14},{"type":23,"tag":24,"props":949,"children":950},{},[951],{"type":28,"value":15},{"type":23,"tag":943,"props":953,"children":955},{"id":954},"can-i-turn-off-javascript-in-pdfcos-html-to-pdf",[956],{"type":28,"value":17},{"type":23,"tag":24,"props":958,"children":959},{},[960,962,968],{"type":28,"value":961},"No. PDF.co's docs for the endpoint say there's no option to disable JavaScript on the raw HTML you send. On PDFShift, send ",{"type":23,"tag":43,"props":963,"children":965},{"className":964},[],[966],{"type":28,"value":967},"disable_javascript: true",{"type":28,"value":969}," and the page renders without running its scripts.",{"title":7,"searchDepth":971,"depth":971,"links":972},2,[973,974,975,976,977,978],{"id":33,"depth":971,"text":36},{"id":148,"depth":971,"text":151},{"id":372,"depth":971,"text":375},{"id":843,"depth":971,"text":846},{"id":875,"depth":971,"text":878},{"id":938,"depth":971,"text":941,"children":979},[980,982],{"id":945,"depth":981,"text":14},3,{"id":954,"depth":981,"text":17},"markdown","content:alternatives:pdf-co.md","content","alternatives/pdf-co.md","md",1796052983262]