DOCX Viewer: Open a Word Document in Your Browser

Open a .docx file without Word: see headings, lists, tables and images, copy the text, or save it as HTML or plain text. Nothing is uploaded.

Runs in your browser. Nothing is uploaded.

Documents

DOCX Viewer

Word document

Max 25MB each

Read in your browser and never uploaded. Up to 25 MB; .docx only (not .doc).

Preview

Choose a .docx file to read it here. Headings, lists, tables and pictures are kept; the text view is ready to copy.

Example

Input
proposal.docx (3 pages: one heading, two bullet lists, a 4-column pricing table, one PNG logo)
Result
Document view with the heading, both lists and the table. 612 words, 3,904 characters, 1 image, 1 table. Warnings: none. Download as .html or .txt.

How to use the viewer

Drop a .docx file onto the file box or pick it with the button. The document appears at once, with headings, bold and italic text, numbered and bulleted lists, tables and inline pictures. Switch between the Document view, which keeps the structure, and the Text-only view, which shows plain text that is easy to read and select. The counts above the result give words, characters, images and tables, which is handy when you need a quick size check on a contract, a brief or a manuscript.

From there you can copy the text to the clipboard, download a standalone HTML file that opens in any browser, or download a plain .txt file. The HTML download is a reasonable way to move content into a CMS or an email template, because you get clean headings, paragraphs and tables instead of Word's styling.

How the conversion works

A .docx file is a zip archive of XML parts. The viewer uses the mammoth library to read the document body and convert Word paragraph styles such as Heading 1 into semantic HTML. The result is then passed through DOMPurify before it is displayed, so scripts and event handlers in a hostile file cannot run. Everything happens in your browser; the file is read locally and no request is made with its contents.

Pictures embedded in the file are turned into data URLs so they show inline. Only PNG, JPEG, GIF, WebP and BMP images are shown. Vector formats that Word commonly uses, such as EMF and WMF, cannot be displayed by a browser, so they are skipped and counted instead. Links open only if they use http, https or mailto. Anything mammoth could not convert cleanly is listed in a collapsible warnings note, which is worth opening when a document looks wrong.

Limits and what to expect

This is a reader, not a layout engine. Exact Word layout is not reproduced: fonts, page size and margins, headers and footers, comments, tracked changes, multi-column sections, text boxes, floating shapes and equations are dropped or simplified. Internal bookmarks and footnote links are shown as text but are not clickable. If you need to see precisely how a page will print, open the file in Word or export it to PDF and use the PDF viewer.

The legacy .doc format and password-protected .docx files are not supported, and the viewer says so instead of showing garbage. Files up to about 25 MB are accepted. For a file that looks incomplete, check the warnings first, then check whether the missing content lives in a text box or a header, since those are the usual places where text goes missing.

Frequently asked questions

Is my document uploaded?

No. The file is read and converted in your browser, and nothing is sent to a server.

Will it look exactly like it does in Word?

No. It reproduces the content and basic structure (headings, lists, tables, images), not fonts, page layout, headers, footers or text boxes.

Can it open an old .doc file or a password-protected file?

No. Only the modern .docx format is supported, and encrypted files cannot be read. Save a .doc as .docx in Word or LibreOffice first.

Why are some pictures missing?

Browsers can only show PNG, JPEG, GIF, WebP and BMP. Images stored as EMF or WMF are skipped and counted in the image summary.

What is the size limit?

About 25 MB. Larger files are rejected with a message so the page does not run out of memory.

Related tools