GroupDocs.Editor at a glance

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

Illustration editor

Effortlessly edit multiple documents in C#

Seamlessly edit multiple PDF and Office files with support for a wide range of formats. GroupDocs.Editor for .NET 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 .NET supports the following operating systems, frameworks, and package managers.

Amazon
Docker
Azure
VS Code
ReSharper
macOS
Linux
NuGet

Supported file formats

GroupDocs.Editor for .NET 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 .NET 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 C#:

How to edit DOCX files in C#

// Load document
Editor editor = new Editor("sample.docx");

// Edit document
EditableDocument editableDocument = editor.Edit();

// Save edited document
editor.Save(editableDocument, "edited_sample.docx");

Edit form fields in a Word document

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

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

Editor editor = new Editor("sample.docx");
// Read the FormFieldCollection in the document
FormFieldCollection collection = fieldManager.FormFieldCollection;
// Update a specific text form field
TextFormField textField = collection.GetFormField<TextFormField>("Text1");
textField.LocaleId = 1029;
textField.Value = "new Value";
fieldManager.UpdateFormFiled(collection);

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English