pdfit pdfit

Turn your HTML into PDFs, without rewriting your code.

An invoice, a report, a packing slip — send us the page, get back a PDF. The API follows the widely used Pdfcrowd conventions, so a client library you already have will work against it.

Start free 100 conversions, 30 days, no card.

Bring your own client

The endpoint paths and parameter names follow the Pdfcrowd v1 and v2 conventions, and credentials are accepted as basic auth or as form fields. If you already have code written against that style of API, it will work here.

POST https://pdfit.co.uk/convert/            v2 style, basic auth
POST https://pdfit.co.uk/api/pdf/convert/uri/  v1 style, form fields
POST https://pdfit.co.uk/api/pdf/convert/html/

Starting fresh?

One request. Your API key, a URL or a blob of HTML.

curl -u 'anything:YOUR_API_KEY' \
  -d 'url=https://example.com/invoice/1043' \
  -o invoice.pdf \
  https://pdfit.co.uk/convert/

What you get

Rendered by headless Chrome, so a page that looks right in a browser looks right as a PDF.

Real headers and footers

Your own HTML, repeated on every page, with page numbers where you want them.

Pages that wait

Hold the render until an element appears, so charts and late-loading content are actually in the file.

Pages behind a login

Basic auth and cookies are passed through, so private pages convert like any other.

Your print stylesheet

Print media emulation and CSS page sizes are honoured, rather than guessed at.

A key per site

Issue as many as you like and revoke one without disturbing the rest.

Usage you can see

Every conversion logged, split by site, with what failed and how long it took.

Pricing

In pounds, monthly, cancel whenever.

Starter

£9.00
per month, plus VAT
£10.80 including VAT at 20%
1,000 conversions

For a single site sending invoices or order confirmations.

Start free
Most sites

Standard

£29.00
per month, plus VAT
£34.80 including VAT at 20%
10,000 conversions

For a busy site, or a handful of smaller ones on one key.

Start free

Pro

£79.00
per month, plus VAT
£94.80 including VAT at 20%
50,000 conversions

For agencies and platforms generating documents at volume.

Start free

Go over your allowance and nothing stops. We will email you, and if it keeps happening we will suggest a plan that fits — there is no surprise charge.

VAT shown at the UK rate. A business outside the UK enters its VAT number at the checkout and is charged accordingly — often nothing.

Options

Passed as ordinary form fields. Pdfcrowd's names work too.

page_sizeA4, Letter, Legal, Ledger, Tabloid — or give an exact width and height.
orientationPortrait or landscape.
margin_topAnd bottom, left and right. Or turn margins off entirely.
header_htmlYour own markup at the top of every page, with a height to match.
footer_htmlThe same at the bottom — page numbers, a reference, a date.
wait_for_elementHold the render until this selector appears on the page.
wait_delayOr simply wait a fixed moment before rendering.
use_print_mediaRender with your print stylesheet rather than the screen one.
http_auth_user_nameWith a password, for pages behind basic auth.
cookiesSent with the request, for pages behind a session.
scale_factorShrink or enlarge the rendered page.
viewport_widthThe window size the page believes it is being viewed at.

Questions

The things people ask before signing up.

What does pdfit do?

It turns a web page into a PDF. You send a URL or a blob of HTML to the API and get a PDF back, rendered by headless Chrome so it looks the way the page looks in a browser. It is used mostly for invoices, reports, packing slips and anything else a system needs to produce as a document.

Do I have to rewrite my code to use it?

Probably not. The endpoint paths and parameter names follow the Pdfcrowd v1 and v2 conventions, and credentials are accepted as basic auth or as form fields. If you already have code written against that style of API it will work here.

Is there a free trial?

Yes. Every new account gets 100 conversions to use over 30 days, and no card is needed to start.

What happens if I go over my monthly allowance?

Nothing stops. Your conversions keep running and there is no extra charge for the occasional overrun. We will email you, and if it keeps happening we will suggest a plan that fits your volume better.

How much does it cost?

Plans start at £9 a month for 1,000 conversions, with £29 and £79 tiers for larger volumes. Prices exclude VAT, are billed monthly, and can be cancelled at any time.

Can it convert pages that need a login?

Yes. Basic auth credentials and cookies are passed through with the request, so a page behind a session or an HTTP login converts like any other.

Can I add headers and footers with page numbers?

Yes. Header and footer HTML is your own markup, repeated on every page, and Chrome fills in page numbers, totals and dates where you ask for them.

What if my page loads content with JavaScript?

You can hold the render until a particular element appears, or wait a fixed moment, so charts and late-loading content are in the file rather than missing from it.

Where is it hosted, and is VAT charged?

The service runs in the United Kingdom and is billed in pounds. UK VAT is added at the checkout. A business outside the UK can enter its VAT number and is charged accordingly.

Ready?

100 conversions and 30 days to try it. No card until you decide.

Create an account