PDF-to-HTML API for markup conversion workflows

Use Nutrient DWS to convert PDF files into HTML when the workflow needs markup output instead of static PDFs. Start with a cloud PDF-to-HTML API built for document publishing, content reuse, markup conversion, and downstream HTML workflows.

Convert PDF into HTML markup

Use a PDF-to-HTML API when the workflow needs HTML and markup output for publishing, reuse, migration, and browser-facing document workflows.

Built for API-driven markup conversion

Use REST, Postman, JavaScript, Python, Java, C#, PHP, or HTTP to automate PDF-to-HTML conversion inside content, publishing, and markup pipelines.

Fast path from evaluation to implementation

Connect HTML markup conversion to getting started, pricing, and the broader converter and markup workflows so teams can validate the right output path quickly.

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

Try it out

This example will convert your uploaded PDF file to an HTML.


Try it out in three steps

  1. Add a PDF file named document.pdf to your project folder.
  2. Run the code from the same folder.
  3. Open result.html in your project folder to view the results.
curl -X POST https://api.nutrient.io/build \
-H "Authorization: Bearer your_api_key_here" \
-o result.html \
--fail \
-F file=@document.pdf \
-F instructions='{
"parts": [
{
"file": "file"
}
],
"output": {
"type": "html"
}
}'

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 →

Security is our top priority

No document storage

No input or resulting documents are stored on our infrastructure. All files are deleted as soon as a request finishes. Alternatively, check out our self-hosted product.

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.

Frequently asked questions

What is a PDF-to-HTML API?

A PDF-to-HTML API converts PDF documents into HTML markup over a REST endpoint, so you can publish, reuse, or migrate PDF content into browser-facing and downstream HTML workflows. Nutrient DWS Processor API performs the conversion server-side — no desktop software or local install required.

Does the PDF-to-HTML API preserve images and layout?

Yes. Conversion retains the document’s text, images, and structure so the resulting HTML reflects the original layout for publishing and content-reuse workflows.

Which programming languages can I use with the PDF-to-HTML API?

The API is REST-based, so it works from any language that can make an HTTP request. Ready-to-use examples are available for JavaScript, Python, Java, C#, PHP, and HTTP (curl), plus a Postman collection for the fastest first request.

Is there a file size limit for PDF-to-HTML conversion?

Conversion runs on the cloud Processor API and handles typical document workloads. For current limits and large-file handling, see the Processor API documentation.

How do I convert a PDF to HTML with the API?

Send the PDF to the Processor API over REST and request HTML output. The getting started guide covers API key setup, and the Postman collection gets a first conversion running quickly. See the Processor API pricing page for credit details.

Ready to try it?

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