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 and Java 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.
- 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 DOCX
using (var editor = new Editor("Templates/Contract.docx"))
{
var editOptions = new WordProcessingEditOptions();
EditableDocument htmlDoc = editor.Edit(editOptions);
string html = htmlDoc.GetContent(); // send to your WYSIWYG editor
// ... user edits HTML/embedded resources ...
var saveOptions = new WordProcessingSaveOptions(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 XLSX
try (Editor editor = new Editor("data.xlsx")) {
SpreadsheetEditOptions editOptions = new SpreadsheetEditOptions();
editOptions.setWorksheetIndex(0);
EditableDocument htmlDoc = editor.edit(editOptions);
String html = htmlDoc.getContent(); // send to UI editor
SpreadsheetSaveOptions saveOptions = new SpreadsheetSaveOptions(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 DOCX
const groupdocs = require('@groupdocs/groupdocs.editor');
async function run() {
const editor = new groupdocs.Editor('Templates/Letter.docx');
const editOptions = new groupdocs.WordProcessingEditOptions();
const htmlDoc = await editor.edit(editOptions);
const html = await htmlDoc.getContent(); // send to your WYSIWYG editor
const saveOptions = new groupdocs.WordProcessingSaveOptions(groupdocs.WordProcessingFormats.Docx);
await editor.save(htmlDoc, 'Reports/Letter-Edited.docx', saveOptions);
}
run().catch(console.error);- 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+ and Java SE/EE 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. - 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
- .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-api online-document-editing wysiwyg-html-editing docx-to-html html-to-docx xlsx-to-html powerpoint-editing pdf-editing server-side-editor document-conversion-and-editing on-premise-document-editing office-to-html html-to-office spreadsheet-html-editor presentation-html-editor document-roundtrip font-embedding resource-extraction cross-platform-editor-sdk self-hosted-document-editor com-free-editing