ONLYOFFICE

On this page 8

ONLYOFFICE is an open-source office suite for text documents, spreadsheets, presentations, fillable forms and PDF files that uses the Office Open XML formats (DOCX, XLSX and PPTX) as its native file model. Among office applications in software, it stands out as a suite designed from the start for browser-based co-editing that can be self-hosted on an organization’s own servers.

The product family is developed by Ascensio System SIA and includes the server-side ONLYOFFICE Docs editors, free Desktop Editors for Windows, macOS and Linux, mobile apps, and collaboration platforms such as DocSpace and Workspace. Most organizations encounter it as the editing engine embedded in a file-sharing platform rather than as a standalone application.

How ONLYOFFICE Docs renders and edits files

ONLYOFFICE Docs edits files in the browser by drawing the document on an HTML5 canvas with JavaScript instead of translating it into ordinary web page markup. This approach gives consistent layout and pagination across browsers, because the editor controls every glyph position in the same way a desktop word processor does.

The server component, historically called Document Server, stores no files permanently. A host application passes it a document URL, a unique document key and a callback URL; the editors fetch the file, convert it to an internal format, manage the editing session and send the saved result back through the callback. Requests are typically protected with JSON Web Tokens (JWT) signed by a secret shared between both systems.

The table below summarizes the main building blocks of a typical deployment.

ComponentRoleTypical location
Document editorsCanvas-based editing in the browserClient browser
Document serviceSession coordination and co-editingApplication server
Conversion serviceConverting between formats on open and saveApplication server
Host integrationStorage, permissions and the callback endpointNextcloud, Moodle or a custom portal
Message queue and databaseInternal state, locks and change historyRabbitMQ, PostgreSQL or similar
Core components of an ONLYOFFICE deployment

Editions, apps and licensing

ONLYOFFICE is distributed under a dual licensing model: the source code of the editors is published under the GNU Affero General Public License version 3 (AGPLv3), while commercial editions add support, scaling features and different license terms. The AGPL obliges anyone who modifies the server code and offers it over a network to publish those modifications.

The free server edition limits the number of simultaneous editing connections, commonly to about 20, which suits small teams but not institution-wide use. Exact limits and feature splits change between releases, so administrators should verify them for the version they deploy.

ProductWhat it providesTypical user
Docs Community EditionFree self-hosted editors with a connection limitSmall teams and test environments
Docs Enterprise EditionCommercial editors with scaling and supportCompanies and public bodies
Docs Developer EditionEditors licensed for embedding in other productsSoftware vendors
Desktop EditorsFree offline editing on Windows, macOS and LinuxIndividual users
DocSpaceRoom-based document collaboration platformTeams sharing files with external parties
Main ONLYOFFICE products and their typical users

File formats and Microsoft Office compatibility

ONLYOFFICE treats DOCX, XLSX and PPTX as native formats, which is its main technical difference from LibreOffice, whose native format is ODF. Because the internal document model follows OOXML concepts, files created in Microsoft Word, Microsoft Excel or Microsoft PowerPoint usually keep their styles, tables and pagination with fewer conversion losses.

Other formats, including ODT, ODS, ODP, RTF, DOC and CSV, are opened through conversion on open. Users can save back to the original format, but complex ODF files may lose details in the round trip, so mixed environments should test representative documents before standardizing.

The following comparison places ONLYOFFICE beside the office suites it is most often weighed against.

AspectONLYOFFICELibreOfficeMicrosoft 365
Native file formatOOXMLODFOOXML
Browser co-editingCore design goalLimited, via separate online editionBuilt in
Self-hostingSupportedSupported for the online editionNot offered
Macro languageJavaScriptBasic and PythonVBA
LicenseAGPLv3 plus commercialMPL 2.0Proprietary subscription
ONLYOFFICE compared with neighboring office suites

Real-time co-editing and review features

ONLYOFFICE supports simultaneous editing by several users with two co-editing modes. Fast mode shows other authors’ changes in real time, while Strict mode locks the paragraph or object being edited and publishes changes only when the author saves, which reduces distraction in formal drafting.

Review tools follow conventions familiar from desktop word processors: track changes, comments with mentions, version history and document comparison. Spreadsheets support pivot tables, conditional formatting and hundreds of functions, including lookup functions such as VLOOKUP and XLOOKUP.

  • Plugins extend the editors with features such as translation, thesaurus or AI assistants.
  • Macros are written in JavaScript against the editors’ API, not in VBA.
  • Fillable forms can be built and distributed for structured data collection.

Choosing and deploying ONLYOFFICE

The right ONLYOFFICE product depends on where files live and who must edit them. The decision table links common situations to a sensible starting point.

SituationRecommended optionReason
Files already stored in Nextcloud or ownCloudDocs with the official connectorAdds editing without moving data
Strict data residency requirementsSelf-hosted Docs in DockerDocuments stay on owned infrastructure
Single user working offlineDesktop EditorsFree and requires no server
Collaboration with external clientsDocSpace roomsGranular room permissions
Heavy use of VBA macrosKeep Microsoft Office for those filesVBA does not run in ONLYOFFICE
Deployment choices by situation

Most administrators install Docs with the official Docker image or distribution packages and place it behind a reverse proxy with TLS enabled. Capacity planning should consider peak concurrent editors, not total users, because each open editing session consumes server memory.

Limitations and common pitfalls

ONLYOFFICE is mature, but several recurring problems appear in real deployments. Most of them come from integration settings rather than from the editors themselves.

SymptomLikely causeFix
Document fails to openJWT secret mismatchUse the same secret on both sides
Changes are not savedCallback URL unreachable from the serverCheck internal DNS and firewall rules
Editing blocked for new usersConnection limit reachedUpgrade the edition or reduce sessions
Layout shifts in ODF filesConversion to the OOXML modelStore shared files as DOCX or test first
Old version reappearsReused document keyGenerate a new key for every file version
Frequent problems, causes and fixes

A further limitation is feature parity: advanced Excel features, VBA automation and some Microsoft-specific objects are absent or partial. Organizations migrating from Microsoft 365 should audit macro-dependent workflows before switching.

A non-technical view

ONLYOFFICE is a set of programs for writing letters, building spreadsheets and making slide shows, much like the familiar Microsoft tools. Its strength is that files from Word, Excel and PowerPoint look right when opened, and several people can work on the same file at once in a web browser.

A company can run it on its own computers instead of a cloud provider, so documents never leave the building. Think of it as a shared whiteboard that the company owns rather than rents.

A concrete example

A regional university with about 12,000 students already stores coursework and administrative files in a self-hosted Nextcloud instance. Data protection rules require that student documents stay on university servers, which rules out public cloud editors.

The IT team deploys ONLYOFFICE Docs Enterprise Edition in Docker on two virtual machines behind a load balancer, connects it to Nextcloud with the official connector and sets a shared JWT secret. Capacity is sized for about 400 concurrent editors during exam periods.

Within one semester, staff co-edit committee minutes and budget spreadsheets directly in the browser. Email attachments with conflicting versions largely disappear, and all documents remain on university infrastructure, which satisfies the data protection officer’s audit.