Create and edit DOCX files without any server‑side dependencies. WebViewer enables Microsoft Office file editing directly in the browser—no intermediate format conversions or Microsoft Office installations required. For more, see the DOCX Editor overview.

A docs file open in DOCX Editor
If you have a URL for a document, you can pass it to the WebViewer constructor or loadDocument function to open it.
You can also, alternatively, open a new, blank DOCX file through the WebViewer constructor.
Explore the React and Svelte tabs to learn how to integrate WebViewer and enable the Apryse DOCX Editor in Apryse WebViewer. Each tab includes a corresponding video.
You can skip the videos and go to the Enable and open existing DOCX document section to get started.
Integrate WebViewer and DOCX Editor into a React app
Integrate WebViewer and DOCX Editor into a Svelte app
Before you start:
Apryse collects some data regarding your usage of the SDK for product improvement.
If you wish to continue without data collection, contact us and we will email you a no-tracking trial key for you to get started.
If you have a URL for a document, you can pass it to the WebViewer constructor or loadDocument function to open it.
Load the office document with the WebViewer constructor, and it will load with the viewer.
This is an example of how the code might look in an HTML project where WebViewer is integrated, and DOCX Editor is enabled:
index.html
Load the office document with the loadDocument() method after WebViewer is initialized.
You can open a new, blank DOCX file through the WebViewer constructor.
Initialize WebViewer constructor without the initialDoc property, and the viewer will load with an empty document, ready to be edited.
DOCX Editor supports Input Method Editor (IME) keyboard input via string composition, enabling complex text input. This includes proper text entry for languages such as Chinese, Japanese, and Korean, as well as other languages that rely on composition events. This feature is not enabled by default.
IME support in the DOCX Editor is controlled through:
To enable string composition when initializing DOCX Editor, set enableCompositionInput to true as shown in the constructor here:
This approach should be used if you anticipate that your application will support multilingual keyboard input by default.
To dynamically enable, disable, or check the status of IME string composition, use the following APIs:
These APIs allow you to toggle IME support based on user preferences or locale.
To explore additional document workflows and features, see:
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales