Add a table of contents to any PDF.

Upload your PDFs here, or send HTML to our API.
You get one PDF with a table of contents, correct page numbers, and links that jump to every section.

See an example PDF

Example.ts
const fetch = require('node-fetch');

const { createWriteStream } = require('fs');
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. Send PDFs or HTML

Upload one long PDF or up to 20 to merge, or send a URL or HTML to the API.

2. Analyse content

Headings are found by plain rules, with no AI. On the web you can rename, delete or reorder them first.

3. Get your PDF

With a table of contents, correct page numbers, and links that jump to every section.

Some Use Cases

A person holding a report next to a line chart

Automated Reports

Our service is ideal for automated preparation of analytical reports, financial summaries, or other reports that need to be generated periodically. You can convert your dynamic HTML reports into consistent PDFs automatically without fiddling with styling or manual exports.

Three separate PDF pages with arrows pointing to one document that has a contents list

Long PDFs and merged files

Upload one long PDF, or up to 20 PDFs to merge in the order you choose. You get one file with a table of contents on page one, correct page numbers, and links that jump to every section, so readers can find their way around. No account needed.

A server with checkmarks

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.

A person pushing a cart of boxes

Knowledge Base Archiving

Ideal for preserving structured pages like help center articles, specific versions of manuals or documentation as PDFs for offline access or compliance. Our service takes care of the table of contents, page formatting, headers and footers automatically.

It is free

No plans and no prices. These limits keep the server fair for everyone.

20files in one upload
50 MBfor all files together
500pages for all files together
10uploads per hour from one IP
60 sto find the headings
60 sto build your PDF
2jobs running at once on the server
1 hourthen your files are deleted

Common questions

Do I need an account to use the upload tool?

No. Pick your PDFs and press Find headings. Only the browser that uploaded the files can open the result.

What happens to my files?

Your uploads and the PDF we make are deleted one hour after upload, whether you download it or not. After that the link says “This PDF has been deleted”.

Does it use AI?

No. Headings come from your PDF’s own bookmarks or its text, by plain rules. You can rename, delete or reorder them before you press Make.

What do you log?

Counts only: how many files and pages you sent, how long it took, and whether it worked. We never log file names, headings or any text from your PDFs.

Are there ads or trackers?

No outside analytics, no ads and no trackers from other companies. When you download, a random ID in a cookie lets us count different people. It is not linked to your name or email.

Why was my upload refused?

It most likely went over a limit: more than 20 files, 50 MB or 500 pages in all, or more than 10 uploads from your IP in an hour. Finding headings and building the PDF each stop after 60 seconds.

Can I use a password-protected PDF?

No. The whole upload is refused with “<file name> is password-protected.” and none of your files are processed. We do not unlock files. Remove the password in your PDF app, then upload it again.

What if no headings are found?

The review page says “No headings in this file. It still gets one row in the contents.” That row is named after the file, and you can rename it before you press Make.

Does it work on scanned PDFs?

Only in part. A scan is pictures of pages with no text in them, so no headings are found. The file still gets one row in the contents, named after the file, unless the PDF has its own bookmarks, which are used instead. There is no OCR (text recognition), so scanned pages are not read.

How do I report a problem?

Email [email protected]. Say what you did and what you expected, and attach the PDF if you can.

Developer Docs

Check out our docs and API reference to get you started.

See Our Docs
Pick PDFs