The Go library for
Office documents.
High-performance, Pure-Go library for
creating, manipulating Word, Excel, PowerPoint
Automate document generation, spreadsheet manipulation, and presentation creation with no external dependencies — then cross-compile and deploy anywhere Go runs.
Three formats. One module.
Full support for Word documents, Excel spreadsheets, and PowerPoint presentations — written in pure Go.
- Create filesGenerate DOCX from scratch or populate structured templates with data
- Read/edit filesOpen existing Word documents and access or modify any element of their content
- FormattingFormat text with font styles, sizes, colors, and alignments. Full paragraph and style control
- ImagesInsert, replace, and manipulate images within DOCX files — adjust size and position for precise layout
- TablesCreate and modify tables including adding rows, columns, and cell content with full formatting
- Headers & footersAdd and customize page headers and footers — page numbers, titles, dates, and per-section content
- Export to PDFRender finished Word documents straight to PDF with UniPDF — no external tools or headless Office
Why UniOffice
Built to deploy fast.
Built to last.
Three reasons Go teams choose UniOffice over alternatives.
Secure by design
Every change is reviewed by our team before it ships — nothing lands unreviewed — and each release is hardened against known vulnerabilities.
- All changes reviewed before merge
- Public report at security.unidoc.io
- Hardened over 10+ years in production
Pure Go library
One dependency-free Go module — no CGO, no third-party libraries, no external runtimes. Add it with a single go get and it runs anywhere Go compiles.
- Single
go get— zero system deps - Runs on Docker, Lambda, bare VMs
- Full codebase your team can inspect
Fastest time to deployment
High-level interfaces for common operations. Lower-level access for precise control. No third-party libraries, no proprietary licenses, no fragile headless installs.
- Flexible SDK for any use case
- No Windows or system dependencies
- Lean container images
Security & your data
Your documents never leave
your infrastructure.
UniOffice runs entirely in-process. No uploads, no external API calls, no telemetry — deploy fully offline or air-gapped.
- In-process onlyDocuments are parsed and generated entirely in memory on your own servers. Nothing is uploaded anywhere, so you can run fully offline or in an air-gapped environment.
- CVE-scannedEvery release is automatically tested against known vulnerabilities before it ships, and won't pass our pipeline until each finding is remediated.
- Vendor questionnairesWe complete your vendor security questionnaires and provide the documentation your procurement and security teams need to sign off.
- Signed releasesEvery release ships with verifiable checksums, so your team can confirm exactly what code is being deployed into production.
Built for enterprise
Everything procurement needs to say yes.
Straightforward licensing, real support, and a library that will still be here in five years.
Simple licensing
One commercial license covers your whole team. Deploy anywhere — no per-document or per-server metering — on a simple annual subscription.
See pricing →Enterprise support
SLA-backed response times and a direct line to the engineers who built the library — talk to the people who write the code, not a support script.
Email support →Proven & maintained
10+ years in production across enterprise deployments. Predictable releases and a stable API you can upgrade without surprises, plus a mature sibling in UniPDF.