GroupDocs.Conversion for Node.js via Java is a powerful API to convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, raster images (TIFF, JPEG, GIF, PNG, BMP) and more.
Node.js Converter API Features
- Convert whole document to desired target format.
- Convert specific document page(s) or page ranges.
- Auto-detect source document format on the fly without requiring the file extension.
- Obtain a list of all supported conversion formats.
- Replace missing fonts.
- Add text or image watermarks to any page.
- Extract document's basic information.
- Load source document with extended options;
- Specify password for password-protected documents.
- Load specific part or pages of the document.
- Hide or show document comments.
Supported File Formats
PDF: PDF (version 1.3, 1.4, 1.5, 1.6, 1.7)
Word Processing: DOC, DOCM, DOCX, DOT, DOTM, DOTX, MD, RTF, TXT
Spreadsheet: XLS, XLSX, XLSB, XLTX, XLTM, XLSM, CSV, NUMBERS, ODS
Presentation: PPT, PPTX, PPS, PPSX, POTM, POTX, POT, PPSM, PPTM
OpenOffice: ODS, ODP, OTP, ODT, OTT,
Images: JPG, PNG, SVG, BMP, GIF, AI, DJVU, ICO, TIFF
CAD: CF2, DGN, DWFX, DWT
Compression: 7Z, GZIP, RAR, ZIP
Database: LOG, NSF, SQL
Diagram: VDX, VSD, VSDM, VSDX
eBook: AZW3, EPUB, MOBI
Email and Outlook: EML, EMLX, MSG, PST
Font: CFF, EOT, OTF, TTF
Page Description Language: CGM, PS, SVG, XPS
Project Management: MPP, MPT, XER
Publisher: PUB
Web: HTML, JSON, VDW, XML
Getting Started with GroupDocs.Conversion for Node.js via Java
Installation
From the command line:
npm i @groupdocs/groupdocs.conversion
Convert DOCX to HTML using Node.js
const converter = new groupdocs.conversion.Converter("sample.docx")
const options = new groupdocs.conversion.MarkupConvertOptions()
converter.convert("ConvertToHtml.html", options);
Convert PDF to DOCX using Node.js
const converter = new groupdocs.conversion.Converter("sample.pdf")
const options = new groupdocs.conversion.WordProcessingConvertOptions()
converter.convert("output.docx", options)
Convert Word to Presentation via Node.js
const converter = new groupdocs.conversion.Converter(inputFilePath)
const options = new groupdocs.conversion.PresentationConvertOptions()
converter.convert("output.pptx", options)
Home | Product Page | Documentation | Blog | API Reference | Code Samples | Free Support | Temporary License