View word documents in browser on a webpage

Posted on 2013-05-26
Last Modified: 2013-06-11

What is a good, reliable and preferably free tool or method to view word 2003-2007-2010 documents online on a webpage, like in an iframe?

Question by:peps03
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 39197871
Why don't you try

is a GNU licensed project

Author Comment

ID: 39197946
Thanks, but when trying to view docx, i get an error.
LVL 110

Expert Comment

by:Ray Paseur
ID: 39197979
You may find that a docx is just a doc, but encoded in the form of a zip archive.  You might be able to unzip and treat the resulting file like a doc.  I have never done this so I do not have a teaching example, but it seems like it might be a promising thing to pursue.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 83

Expert Comment

by:Dave Baldwin
ID: 39198034
No, it's not that simple.  I have a 'docx' that contains less than 1k of text but the 'docx' file is 49,118 bytes.  Looking at it in Filealyzer, it has a lot of 'word/????.xml' like 'word/document.xml' and 'word/theme/theme1.xml' followed by PK which is usually the signature for PKzip.  It's not just a single Zip file but apparently a lot of little sections containing all the usual Microsoft formatting info whether you need it or not.

Author Comment

ID: 39198049
Hmm the Google file-viewer also doesn't open docx. (Although it says it does support it). On the other hand, dropbox does have  a tool to view docx in the browser.
LVL 20

Expert Comment

by:Mark Brady
ID: 39199002
Here is a free tool for viewing docx in Firefox. This one can convert the file to html to if you wish. I can't find any cross browser solutions for you though.

Author Comment

ID: 39201836
hmm thanks. really need cross-browser.

any idea why the google file viewer isn't opening docx while it says it should?

Accepted Solution

peps03 earned 0 total points
ID: 39225497 works...
you have to add

AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx

to your htaccess!

Author Closing Comment

ID: 39237117
fixed it!

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to dynamically set the form action using jQuery.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question