# How to view .docs or .docx as preview or another tab in discourse

**URL:** https://meta.discourse.org/t/how-to-view-docs-or-docx-as-preview-or-another-tab-in-discourse/310783
**Category:** Support
**Tags:** pdf-previews
**Created:** [June 6, 2024, 10:06am UTC](https://meta.discourse.org/t/how-to-view-docs-or-docx-as-preview-or-another-tab-in-discourse/310783 "2024-06-06T10:06:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Eman\_Ahmed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eman_ahmed/32/542047_2.png) [@Eman\_Ahmed](https://meta.discourse.org/u/Eman_Ahmed)
#### Post date: [June 6, 2024, 10:06am UTC](https://meta.discourse.org/t/how-to-view-docs-or-docx-as-preview-or-another-tab-in-discourse/310783/1 "2024-06-06T10:06:04Z")

</div>

Dear All,

I need your support to have the possibility to view word documents as pdf preview or another tab

or if there’s a specific plugin

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [June 6, 2024, 10:14am UTC](https://meta.discourse.org/t/how-to-view-docs-or-docx-as-preview-or-another-tab-in-discourse/310783/2 "2024-06-06T10:14:30Z")

</div>

[https://stackoverflow.com/questions/27957766/how-do-i-render-a-word-document-doc-docx-in-the-browser-using-javascript](https://stackoverflow.com/questions/27957766/how-do-i-render-a-word-document-doc-docx-in-the-browser-using-javascript) discusses a few ways this might be possible. It should be possible to create a theme component that could do previews.

You could ask in #Marketplace if you have a budget.

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [June 7, 2024, 12:48am UTC](https://meta.discourse.org/t/how-to-view-docs-or-docx-as-preview-or-another-tab-in-discourse/310783/3 "2024-06-07T00:48:55Z")

</div>

Not directly word documents. But the 2nd part “as pdf”. There is a #Customization > Theme component or #Customization > Plugin for inline pdf viewing.

> [@Inline PDF Previews](https://meta.discourse.org/t/inline-pdf-previews/157649):
>
> discourse2Summary Inline PDF Previews is a desktop-only theme component that will allow you to create previews for pdf attachments.eyeglassesPreview [Preview on Discourse Theme Creator](https://discourse.theme-creator.io/theme/Discourse/inline-pdf-previews) (desktop only)hammer_and_wrenchRepository Link [https://github.com/discourse/discourse-pdf-previews](https://github.com/discourse/discourse-pdf-previews)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Features before after …

## Plugin

> [@Discourse send PDF inline](https://meta.discourse.org/t/discourse-send-pdf-inline/280875):
>
> information_sourceSummary Show local served PDFs in the browserhammer_and_wrenchRepository Link [GitHub - thoka/discourse-send-pdf-inline: Patch discourse do serve PDFs inline · GitHub](https://github.com/thoka/discourse-send-pdf-inline)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)Features Uploaded PDFs are opened with “content disposition inline”, which allows them to [be displayed in the browser](https://meta.discourse.org/t/add-configuration-option-to-serve-local-pdf-uploads-inline/257040) instead of being offered for download. Configuration Not necessary.

A doc preview component would be awesome.
