Transform Documents $2.00 / 1,000 calls

PDF bookmarks replace

What this tool does

This tool helps you update the navigation structure inside a PDF document by replacing its bookmarks. It allows you to define a new set of chapters or sections that appear in the document outline, ensuring the file has the correct structure for readers. This is useful when standard conversion tools produce messy or empty navigation lists.

When to use it

  • Correcting navigation errors after converting a Word document to PDF.
  • Simplifying a complex document structure by removing unnecessary sub-headings.
  • Standardizing bookmark titles across a collection of generated reports.
  • Fixing a PDF that has no clickable navigation links in the sidebar.

What to expect

You will receive a processed PDF file that contains the new navigation structure you specified. The content of the pages remains unchanged, only the list of clickable links in the document viewer is updated.

Limitations

  • The tool does not read or interpret the actual text on the pages; it only manages the link list.
  • If the provided page numbers do not exist in the original file, the bookmarks may point to incorrect locations.
  • The structure is replaced entirely, so existing custom bookmarks are removed.
  • It does not preserve the original formatting of the bookmark titles beyond what you provide.

When it fails

  • The provided URL is not a valid web address or cannot be reached.
  • The bookmark data is not formatted as a valid list of items.
  • The input file is not a PDF document or is corrupted.

Good to know

  • Ensure page numbers are positive integers and exist within the original document.
  • You must provide both the file location and the new bookmark structure to use this tool.

Input data

Parameter Required Example Description
url Yes https://public.downloads.uproc.io/samples/sample.pdf Public URL of the PDF.
bookmarks Yes [{"title":"Intro","page":1}] JSON array of {title, page}.

Output data

Field Description
result Public URL of the PDF.
count Bookmarks written.