Convert PDFs and documents using our JavaScript REST API

Convert 100+ file types to PDF using the Nutrient Document Converter REST API in your application or workflow. Our hosted API also supports cross-converting document types, like InfoPath to Word or Word to Excel. It’s easy to integrate (no server setup required) and offers fast, reliable, and accurate conversion technology for your application or workflow.

Code Samples: JavaScript Document Converter API

Use the following code samples to convert a wide variety of file types to PDF and PDF/A in your application or workflow.

  1. Convert 50+ Files to PDF (or Other Formats) Using JavaScript(opens in a new tab)
  2. Convert a File to PDF Using an Asynchronous Pattern in JavaScript(opens in a new tab)
  3. Convert a CAD (.dwg or .dxf) File to PDF Using JavaScript(opens in a new tab)
  4. Convert an Email (.msg or .eml) to PDF Using JavaScript(opens in a new tab)
  5. Convert MS Excel Files to PDF Using JavaScript(opens in a new tab)
  6. Convert HTML to PDF Using JavaScript(opens in a new tab)
  7. Convert InfoPath Documents to PDF Using JavaScript(opens in a new tab)
  8. Convert a PDF to Different PDF/A Profiles Using JavaScript(opens in a new tab)
  9. Convert MS PowerPoint Files to PDF Using JavaScript(opens in a new tab)
  10. Convert a File to PDF/A Using JavaScript(opens in a new tab)
  11. Convert a File to PDF Using JavaScript and AngularJS(opens in a new tab)
  12. Convert Visio Documents to PDF Using JavaScript(opens in a new tab)
  13. Convert MS Word Files to PDF Using JavaScript(opens in a new tab)