Paste HTML and CSS, get a PDF back, rendered by real Chromium, so flexbox, grid, web fonts and print CSS work like in your browser. Start from an invoice, receipt or multi-page report template, then make the same PDF from your backend with one API call. Need an image instead? HTML to image.
Free to try, no signup: 5 renders/day.
We rendered each of these through the converter on 2026-10-21 and checked the output with poppler:
<thead> printed over 3 A4 pages, and the header row was at the top of pages 2 and 3 too. Use a real <thead> (not a styled first <tr>) and you get this for free. The Report template shows it.break-before: page and the older page-break-before: always start a new page (3 blocks gave 3 pages). Add tr, .card { break-inside: avoid } so rows and boxes aren't split across pages.@page { size: ... } is ignored: a page asking for A5 still came out A4, because the Page size option wins. Set size, orientation and margins with the options above (or the format, landscape and margin API parameters). Through the API you can also pass prefer_css_page_size=true, and your @page size and margins win.<link> or @font-face works, and rendering waits for fonts to load, so you never get a fallback font in the PDF.Invoices, receipts, reports, tickets, certificates: build the HTML with your usual templating (Blade, Jinja, EJS, Razor), POST it, and store or email the PDF. Every option above is a JSON field:
curl -X POST https://shotmint.creasework.com/v1/pdf -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"html": "<h1>Invoice</h1>...", "format": "A4", "margin": "15mm"}' -o invoice.pdf
Also available: landscape, print_background, scale, screen_media (use your screen CSS instead of print CSS) and url instead of html to convert a live webpage. Images and fonts must be on public URLs (or inline data: URIs), since the renderer can't see your localhost. Language guides with tested code: Node.js, Python, PHP; see also the API docs.
Is the text selectable? Yes. The PDF keeps real text and vector shapes, so it's searchable and stays sharp when zoomed, unlike an image pasted into a PDF.
Can I add page numbers? Yes: tick "Page numbers" above, or send "page_numbers": true to the API for a centered "1 / 3" footer. For your own layout ("Page 2 of 5", a company name, the date), send footer_template or header_template HTML with <span class="pageNumber"></span> and <span class="totalPages"></span> (docs). Already have a PDF? Use the free add page numbers tool.
Why does my PDF look different from the browser? PDFs use your print CSS (@media print) by default. If a print stylesheet hides things, send screen_media: true.
Is it free? 5 PDFs a day per visitor here. A free API key adds 25 more a month; after that it's €5 for 2,000 renders, no subscription, and credits never expire.
Writing in Markdown? Markdown to PDF. Already have PDFs? Merge, compress or add page numbers in your browser.
Get 25 free API renders a month
PDF to HTML · HTML to image · HTML formatter · Word to HTML · HTML to Markdown · HTML to Word · Markdown to HTML · Online HTML editor · HTML viewer · DOCX to HTML · HTML Beautifier · HTML Decode · HTML Encode · HTML Minifier · HTML to DOCX · HTML to JPG Converter · HTML to PNG Converter · Merge URLs to PDF · all free tools