On-premise document editing API that turns Word, Excel, PowerPoint, TXT, and HTML into WYSIWYG HTML and saves back with pixel-perfect fidelity
GroupDocs.Editor is a server-side document editing SDK for .NET, Java, Node.js, and Python that converts popular office formats to clean HTML for in-browser editing, then renders back to DOCX, XLSX, PPTX, PDF, HTML, or TXT with layout, fonts, and resources preserved. Build secure, self-hosted editors without Office Automation.
- New GroupDocs.Editor for Python via .NET released on PyPI — edit DOCX, XLSX, PPTX, and PDF as HTML directly from Python.
- Published GroupDocs.Editor 25.12 with faster HTML generation, improved font embedding, and smaller resource bundles.
- Added sample flows for DOCX → editable HTML → DOCX/PDF and multi-sheet XLSX editing in .NET and Java examples.
Native .NET library that converts Office documents to WYSIWYG HTML for front-end editors, then saves back to Office/PDF.
- GroupDocs.Editor-for-.NET: Core API with flow/paged Word editing, spreadsheet worksheets, slide notes, and resource extraction.
Repo & examples: https://github.com/groupdocs-editor/GroupDocs.Editor-for-.NET/tree/master/Examples
UI companion: https://github.com/groupdocs-editor/GroupDocs.Editor-for-.NET-UI
// Convert DOCX to editable HTML, then save edited content back to DOCXusing(vareditor=newEditor("Templates/Contract.docx")){vareditOptions=newWordProcessingEditOptions();EditableDocumenthtmlDoc=editor.Edit(editOptions);stringhtml=htmlDoc.GetContent();// send to your WYSIWYG editor// ... user edits HTML/embedded resources ...varsaveOptions=newWordProcessingSaveOptions(WordProcessingFormats.Docx);editor.Save(htmlDoc,"Reports/Contract-Edited.docx",saveOptions);}Java API for converting Office/HTML/TXT to editable HTML and saving back with layout fidelity.
- GroupDocs.Editor-for-Java: Full Java engine with worksheet selection, HTML/CSS resource handling, and PDF output.
Repo: https://github.com/groupdocs-editor/GroupDocs.Editor-for-Java
// Convert XLSX sheet to HTML, edit, then save back to XLSXtry (Editoreditor = newEditor("data.xlsx")) {
SpreadsheetEditOptionseditOptions = newSpreadsheetEditOptions();
editOptions.setWorksheetIndex(0);
EditableDocumenthtmlDoc = editor.edit(editOptions);
Stringhtml = htmlDoc.getContent(); // send to UI editorSpreadsheetSaveOptionssaveOptions = newSpreadsheetSaveOptions(SpreadsheetFormats.Xlsx);
editor.save(htmlDoc, "data-updated.xlsx", saveOptions);
}Cross-platform Node.js layer wrapping the Java engine for HTML-based editing of Office files.
- GroupDocs.Editor-for-Node.js-via-Java: NPM package and runnable samples for DOCX/XLSX/PPTX ↔ HTML flows.
Repo: https://github.com/groupdocs-editor/GroupDocs.Editor-for-Node.js-via-Java
// Convert DOCX to HTML, edit in your UI, then save back to DOCXconstgroupdocs=require('@groupdocs/groupdocs.editor');asyncfunctionrun(){consteditor=newgroupdocs.Editor('Templates/Letter.docx');consteditOptions=newgroupdocs.WordProcessingEditOptions();consthtmlDoc=awaiteditor.edit(editOptions);consthtml=awaithtmlDoc.getContent();// send to your WYSIWYG editorconstsaveOptions=newgroupdocs.WordProcessingSaveOptions(groupdocs.WordProcessingFormats.Docx);awaiteditor.save(htmlDoc,'Reports/Letter-Edited.docx',saveOptions);}run().catch(console.error);Python API that wraps the .NET engine to convert Office/PDF/HTML/TXT to editable HTML and save back with full layout fidelity.
- GroupDocs.Editor-for-Python-via-.NET: Pythonic
Editor/EditableDocumentAPI for DOCX/XLSX/PPTX/PDF ↔ HTML flows, worksheet selection, and resource extraction.
Repo: https://github.com/groupdocs-editor/GroupDocs.Editor-for-Python-via-.NET
# Convert DOCX to HTML, edit the markup, then save back to DOCXfromgroupdocs.editorimportEditor, EditableDocumentfromgroupdocs.editor.formatsimportWordProcessingFormatsfromgroupdocs.editor.optionsimportWordProcessingSaveOptionswithEditor("input.docx") aseditor:
original=editor.edit() # open for edithtml=original.get_embedded_html() # send to your WYSIWYG editoredited_html=html.replace("Old text", "New text") # ... user edits ...edited=EditableDocument.from_markup(edited_html)
save_options=WordProcessingSaveOptions(WordProcessingFormats.DOCX)
editor.save(edited, "output.docx", save_options)- Embed DOCX/XLSX/PPTX/PDF online editors in portals, CRMs, and ECMs without Office COM or third-party services.
- Generate editable templates for contracts, proposals, and SOWs, then save back to PDF or Office formats.
- Build collaboration and review tools with HTML-based editing while preserving fonts, styles, and pagination.
- Create data-driven spreadsheet editors for multi-worksheet workbooks with controlled sheet selection.
- Offer secure on-premise editing for regulated industries where data cannot leave your environment.
- 40+ editable formats: DOCX/DOTX/DOC/RTF/ODT, XLSX/XLSM/ODS/CSV/TSV, PPTX/PPSX/ODP, HTML/MHTML, TXT.
- WYSIWYG HTML editing: flow or paged Word modes, worksheet selection, slide region editing, and resource (CSS/images/fonts) extraction.
- Round-trip fidelity: preserve fonts, lists, tables, headers/footers, track changes, and document metadata on save.
- Flexible outputs: save back to DOCX, XLSX, PPTX, HTML, MHTML, or PDF with font embedding and resource bundling.
- Performance & scale: stream-based processing, partial worksheet loading, and configurable memory/resource handling.
- Cross-platform: .NET Framework/Core/6+, Java SE/EE, Node.js, and Python 3.x on Windows/Linux/macOS; works with your preferred WYSIWYG editors.
- .NET:
Install-Package GroupDocs.Editorordotnet add package GroupDocs.Editor - Java: add
com.groupdocs:groupdocs-editorfrom Maven Central. - Node.js:
npm i @groupdocs/groupdocs.editor - Python:
pip install groupdocs-editor-net - Clone samples:
- .NET examples:
git clone https://github.com/groupdocs-editor/GroupDocs.Editor-for-.NET - Java examples:
git clone https://github.com/groupdocs-editor/GroupDocs.Editor-for-Java - Python via .NET:
git clone https://github.com/groupdocs-editor/GroupDocs.Editor-for-Python-via-.NET
- .NET examples:
- Request a temporary license for full-feature evaluation.
- Run example projects to see DOCX/XLSX/PPTX → HTML → DOCX/PDF editing flows.
- Documentation and tutorials: https://docs.groupdocs.com/editor/
- Free support forum: https://forum.groupdocs.com/c/editor
- Temporary license: https://purchase.groupdocs.com/temporary-license
document-editor-apionline-document-editingwysiwyg-html-editingdocx-to-htmlhtml-to-docxxlsx-to-htmlpowerpoint-editingpdf-editingserver-side-editordocument-conversion-and-editingon-premise-document-editingoffice-to-htmlhtml-to-officespreadsheet-html-editorpresentation-html-editordocument-roundtripfont-embeddingresource-extractioncross-platform-editor-sdkself-hosted-document-editorcom-free-editingpython-document-editingedit-documents-pythonnodejs-document-editing