View a DOCX File in a Blazor Application

17 Jul 20261 minute to read

DOCX files can be viewed in a Blazor application in two ways:

NOTE

For an overview of capabilities, see the Blazor SfPdfViewer feature tour. Explore the online demo to review core features.

Option 1: Use the Word Processor component

Use the Syncfusion® Word Processor component for Blazor to compose, view, and edit DOC, DOCX, RTF, and SFDT file formats.

For details, see the Word Processor component product page.

Option 2: Convert to PDF and use the SfPdfViewer component

Convert the Word document to PDF using the Syncfusion DocIO server-side library, then display the resulting PDF in the SfPdfViewer component. PDF Viewer renders only PDF files.

See also