GroupDocs.Editor for Java is a document editing API that lets you load documents, edit them as HTML, and save back to the original or other supported formats including Microsoft Word, Excel, PowerPoint, PDF, and plain text.
The projects in the Demos folder and the Docker images published as groupdocs/editor are sample applications intended to demonstrate GroupDocs.Editor for Java features.
They are not production-ready services and must not be exposed to the public internet without additional hardening.
Before using a demo in any shared or production-like environment:
- Run it on
localhostor a trusted private network only - Do not publish Docker containers directly to the internet without authentication, a reverse proxy, and network restrictions
- Treat file upload, browse, and download features as untrusted input — validate and sandbox file paths in your own integration
- Add authentication, authorization, rate limiting, and logging appropriate for your security requirements
- Keep GroupDocs.Editor and all dependencies up to date
For production integrations, use the library (Examples, documentation) and implement your own secure document storage and API layer instead of deploying these demos as-is.
| Directory | Description |
|---|---|
| Demos | Demo projects for Spring and Dropwizard with WYSIWYG web UI. |
| Examples | Java API usage examples with sample documents. |
Both web demos run on http://localhost:8080/editor/ and provide document editing with download, upload, and print support.
| Demo | Framework | Build | GroupDocs.Editor |
|---|---|---|---|
| Spring | Spring Boot 2.0 | mvn clean spring-boot:run |
26.1 |
| Dropwizard | Dropwizard 1.3 | mvn clean compile exec:java |
26.1 |
Pre-built Docker images are available on Docker Hub.
docker pull groupdocs/editor:latest
docker run -p 8080:8080 groupdocs/editor:latestSecurity notice: Docker images ship with demo defaults (e.g. upload and browse enabled, no authentication). Use them for local evaluation only. Do not expose port 8080 to untrusted networks without adding authentication, path validation, and other security controls required by your organization.
Available image tags follow the pattern {version}-java-{jdk}-bullseye-{framework}:
| Tag | JDK | Framework |
|---|---|---|
{ver}-java-openjdk8-bullseye-spring |
Eclipse Temurin 8 | Spring |
{ver}-java-openjdk11-bullseye-spring |
Eclipse Temurin 11 | Spring |
{ver}-java-openjdk18-bullseye-spring |
Eclipse Temurin 21 | Spring |
{ver}-java-openjdk8-bullseye-dropwizard |
Eclipse Temurin 8 | Dropwizard |
{ver}-java-openjdk11-bullseye-dropwizard |
Eclipse Temurin 11 | Dropwizard |
{ver}-java-openjdk18-bullseye-dropwizard |
Eclipse Temurin 21 | Dropwizard |
The latest tag points to the openjdk18-bullseye-spring variant.
The Docker Hub repository overview is generated from docs/docker-hub-overview.md when the Publish Docker Images workflow runs with Push enabled.
- Convert documents to HTML DOM.
- Convert HTML DOM to Office & OpenOffice formats.
- Protect resultant documents.
- Paginal mode for Word documents.
- Open, view and edit XML documents.
GroupDocs.Editor for Java requires J2SE 8.0 (1.8) or above.
Add the GroupDocs repository to your Maven project:
<repository>
<id>GroupDocs Artifact Repository</id>
<url>https://releases.groupdocs.com/java/repo/</url>
</repository>Then add the dependency:
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-editor</artifactId>
<version>26.1</version>
</dependency>See the installation guide for details.
try (Editor editor = new Editor("sample.docx")) {
EditableDocument doc = editor.edit();
String html = doc.getEmbeddedHtml();
// modify html...
EditableDocument edited = EditableDocument.fromMarkup(html, null);
editor.save(edited, "output.docx");
}Home | Product Page | Documentation | Demos | API Reference | Examples | Blog | Free Support | Temporary License