Generate PDFs from HTML via API - instantly.
Convert your HTML pages to PDF without hassle.
Automatic table of contents, headers, footers & page numbers.
const fetch = require('node-fetch'); const res = await fetch('https://makemypdf.org/api/pdf/generate', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-API-Key': 'your_api_key', }, body: JSON.stringify({ input: { type: 'url', source: 'https://en.wikipedia.org/wiki/Main_Page' }, }) }); res.body.pipe(createWriteStream('document.pdf'));
How it works
1. Input URL or HTML code
Ideal for automated reports, website screenshots, document exports & page archiving.
2. Analyse & Generate
Our service automatically creates a table of contents, headers, footers and page numbers.
3. Get your PDF
Delivered in seconds. No setup. No CSS nightmares.
Some Use Cases
Automated Reports
Our service is ideal for automated preparation of analytical reports, financial summaries, or otherreports that need to be generated periodically. You can convert your dynamic HTML reports into consistent PDFs automatically without fiddling with styling or manual exports.
Previews Of Any Website
Easily plug in our API to turn any webpage into a polished PDF or to generate the latestscreenshots/previews from any website. All you need is one API call. This allows you to add “Download as PDF” buttons on dashboards, resumes, contracts, blog posts, or product catalogs.
Integration with Automation Pipelines
The API-first nature of our service means MakeMyPDF integrates seamlessly with automation tools and backends allowing you to use it with tools like Zapier.
Knowledge Base Archiving
Ideal for preserving structured pages like help center articles, specific versions of manuals ordocumentation as PDFs for offline access or compliance. Our service takes care of the table of contents, page formatting, headers and footers automatically.
