Set page label PDF API

Add or update PDF page labels in your application or workflow, making it easier to navigate and organize multi-section documents.

Custom page labeling

Apply Roman numerals, section titles, or prefixed numbers to individual pages or ranges. Ideal for frontmatter, chapters, and appendices.

Enhance document navigation

Meaningful page labels help readers locate content quickly in large reports, manuals, or legal documents — especially when printed or shared as PDFs.

Simple and transparent pricing

Select a package that suits your needs according to the number of credits you wish to spend. Each API tool and action has a specific credit cost.

Used by Lufthansa, Disney, Autodesk, UBS, Dropbox, IBM
Lufthansa
Disney
Autodesk
UBS
Dropbox
IBM

Try it out

This example changes the page label of the first page (index 0) to i, the label of pages with indexes 1, 2, and 3 to intro, and the label of pages with indexes 4 and 5 to final.


Try it out in three steps

  1. Add a PDF named document.pdf to your project folder.
  2. Run the code from the same folder.
  3. Open result.pdf to see the output.
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer your_api_key_here" \
-o result.pdf \
--fail \
-F document=@document.pdf \
-F instructions='{
"parts": [
{
"file": "document"
}
],
"output": {
"type": "pdf",
"labels": [
{
"pages": {
"start": 0,
"end": 0
},
"label": "i"
},
{
"pages": {
"start": 1,
"end": 3
},
"label": "intro"
},
{
"pages": {
"start": 4,
"end": 5
},
"label": "final"
}
]
}
}'

Start now

Create an account to access your API key and start with 50 free credits per month

Start building with DWS Processor API in minutes — no payment information required.

Already have an account? Sign in →


Frequently asked questions

What does the set page label API do?

It adds or updates the page labels shown in a PDF viewer’s page navigation — for example, Roman numerals for frontmatter or prefixed numbers for chapters. It’s one action in the Nutrient DWS Processor API.

What kinds of page labels can I apply?

You can apply Roman numerals, section titles, and prefixed numbers to individual pages or page ranges. To isolate a range before labeling, pair it with the split PDF API.

Is there a free trial for the set page label API?

Yes. You can start free with Nutrient DWS credits and label PDFs without a credit card. Then move to Processor API pricing as your volume grows.

Which languages and tools can I use to call it?

It’s a REST API you can call from any language, with examples in JavaScript, Python, Java, and PHP. The fastest way to send a first request is the Postman collection.

How do I get started setting PDF page labels?

Create an account, generate an API key, and follow the Processor API getting started guide to send your first set-page-label request.

Is the set page label API secure?

Documents are processed over encrypted connections and aren’t retained after processing. See the security documentation for data handling and compliance details.


Security is our top priority

SOC 2 Type 2 audited

Nutrient’s infrastructure is SOC 2 Type 2 audited and GDPR-compliant. See our privacy policy and security documentation for details on data handling.

HTTPS encryption

All communication between your application and Nutrient is done via HTTPS to ensure your data is encrypted when it’s sent to us.

Safe payment processing

All payments are handled by Paddle. Nutrient DWS Processor API never has direct access to any of your payment data.

Ready to try it?

Create an account to get your DWS Processor API key and start making API calls.