Import & export DOCX with Tiptap

Integrating DOCX (Microsoft Word) conversion with Tiptap can be done in several ways, from adding in-editor “Import/Export DOCX” buttons to using the REST API for server-side workflows.

Subscription required

These extensions and endpoints require a valid Tiptap subscription. As a paid subscriber you can install the extensions by accessing our private registry.

MethodDescriptionDocumentation
Editor ImportLet users upload .docx files directly in the editor (e.g., “Import DOCX” button), converting them to Tiptap JSON for editing. This extension makes a request to our REST API for the conversion.DOCX Editor import
Editor ExportProvides the functionality to generate .docx from Tiptap content. You can use this extension both on client and on server and it also supports custom nodes.DOCX Editor export
REST APIIdeal for server-side or external .docx conversions (batch processing, no in-editor interaction). Sends .docx to get Tiptap JSON or vice versa. Cannot handle custom nodes.DOCX conversion REST API
Custom nodes & stylesIf you have custom Tiptap extensions or need deeper style control, you can override defaults or provide custom renderers for .docx output.Export styles for DOCX, Custom nodes for DOCX

Information related to custom nodes

The REST API can’t handle custom node conversions. For that, implement the Editor Export extension on your own server or on the client so you can define how those nodes convert.