GroupDocs.Editor at a glance

API to edit, translate, and save documents, slides, and diagrams in Node.js applications.

Illustration editor

Effortlessly edit multiple documents in Node.js

Seamlessly edit multiple PDF and Office files with support for a wide range of formats. GroupDocs.Editor for Node.js makes document editing fast and hassle-free.

Translate documents to HTML/CSS

Translate documents to HTML/CSS markup compatible with WYSIWYG editors, allowing easy and efficient document editing in a web environment.

Save edited documents in various formats

Save your edited documents back to their original format or export them to other formats such as PDF, ensuring flexibility and compatibility.

Platform independence

GroupDocs.Editor for Node.js supports the following operating systems, frameworks, and package managers.

Amazon
Docker
Azure
Eclipse
IntelliJ
Windows
Linux
Maven

Supported file formats

GroupDocs.Editor for Node.js supports operations with the following file formats.

Microsoft Office formats

  • Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT
  • Excel: XLS, XLSX, XLSM, XLSB, XLTM, XLTX, XLT, XLAM
  • PowerPoint: PPT, PPTX, PPS, PPSX, ODP, OTP

Documents

  • Documents: PDF,
  • OpenDocument: ODT, OTT, ODS
  • eBook: EPUB

Other formats

  • Web: HTML, MHTML, MHT, MARKDOWN

GroupDocs.Editor features

Seamlessly edit, translate, and save PDF and Office documents.

Feature icon

Edit files

Edit the content of various document formats including PDF, DOCX, XLSX, PPTX, and more.

Feature icon

Translate to HTML/CSS

Convert documents to HTML/CSS for easy editing with WYSIWYG editors like CKEditor or TinyMCE.

Feature icon

Save edited documents

Save the edited HTML/CSS back to the original document format or export to PDF.

Feature icon

Extract document information

Extract information such as page count, size, and encryption status from documents.

Feature icon

Support for various formats

Edit a wide range of document formats including Microsoft Office files, PDFs, and more.

Feature icon

Password protection

Edit password-protected documents with ease.

Feature icon

Custom document encoding

Specify document encoding during editing and saving processes.

Feature icon

Font extraction

Extract fonts from documents for use in the editing process.

Feature icon

Preview pages

Generate image representations of document pages to better understand content and structure.

Code samples

Some use cases of typical GroupDocs.Editor for Node.js operations.

Edit specific DOCX file content

The Document Editing feature allows you to load, edit, and save DOCX files. Here’s an example of how to achieve document editing using Node.js:

How to edit DOCX files in Node.js

// Load document
this.editor = new Editor(this.inputFilePath);

// Edit document
const beforeEdit = await this.editor.edit();

// Save edited document
await this.editor.save(afterEdit, this.outputPath, this.saveOptions);

Edit form fields in a Word document

Easily edit form fields within a Word document using GroupDocs.Editor for Node.js. Here’s how to edit form fields in a Word document using Node.js:

How to edit form fields in a Word document using GroupDocs.Editor for Node.js

const editOptions = new MarkdownEditOptions();
editOptions.setImageLoadCallback(new MdImageLoader(imagesFolder));

const editor = new Editor(inputMdPath);
const beforeEdit = await editor.edit(editOptions);

await editor.save(afterEdit, outputDocxPath, saveOptions);
 English