2020/05/08 20:00    作者:Grace Lin


DocToWeb is an Office Word Add-in, which can convert a Word document to a responsive (PC/Mobile/Tablet) website with just one click. You can use it to write program documentation or some structural documents such as tutorials or product instructions.

Once I have tested many CMS, such as WordPress, Joomla, Drupal, etc. Yes, they are all excellent systems developed by smart team, but I still think they are too heavy and complicated.

Because for most people, what they have on their computer is just Office Word and they have few knowledge about server or server side language like PHP. At that moment, an idea came to me that why we can’t just write our contents in Office Word and convert the Word document to a website with VBA.

With this in my mind, I developed DocToWeb and it did save me a lot of time and energy.

Demo site:

  • It can run on any computer with Office Word installed, no matter Windows or Mac.
  • It can convert a 100 page word document to a responsive website in 3-5 seconds.
  • You can put the website folder to anywhere, such as local disk, server, Github Page, etc.
  • The website is responsive and looks good on different devices such as PC, mobile and tablet.
  • It has several wonderful themes for you to choose.
How to use?
  1. Download all the files in this repository.
  2. Rename DocToWebTemplate.docm as you want. You will write your structural content in this word document.
  3. Open the word document after you rename it.
  4. Fill in all document properties in the first page according to the template. If some property is empty, the program will stop running and prompt unknown error. Please make sure all document properties are filled.
  5. Start writing in the Word template.
  6. Click “Run” on the first page to generate your clean and simple website with table of contents attached. Your website files will be shown in C:\Users\Ed0522\Documents\GitHub\DocToWeb\doc_to_web_project\websites (for example)
Supported Word features
  • DocToWeb only support document with Heading1 and Heading2 title. The reason we don’t support Heading 3 title is because Heading 3 title makes the document too complicated and needs more time to revise. We just want keep everything stupid and simple (KISS). As an alternative, you can use Heading 2(1), Heading 2(2) instead of using Heading 3 title.
  • For convenience, DocToWeb only supports one-column document.
  • You can use Bold, Italic, Underline, Strikethrough, Subscript and Superscript for font. But we don’t support any Font Color or Character Shading.
  • You can use different font size, but finally it will be converted as the specified font size by our program.
  • You can insert table, picture, shapes, chart and SmartArt as usual.
  • You can insert any formula in Word.
  • You can remove the list number for Heading 1 and Heading 2 of our Word template and it has no influence on our program.
  • We don’t support multilevel list, because multilevel list sometimes causes some strange problem in Word. Therefore, we should avoid this trouble. Please make sure don’t use multilevel list.
  • Please do not deelete the Document Properties table on the first page.
  • Please do not change the theme or styles of word document because it may cause some unknown errors which make you unhappy. After all, there is no perfect program. It has Advantages and also Disadvatages.
  • I recommend you don’t change anything about the template.
  • Do not use Japanese or Chinese character as folder name or parameter.






  1. 强力推荐!好用/免费的网站客服工具

    很多网站尤其是外贸网站或者电商网站,都需要在线客服。没有在线客服,用户在遇到疑问时就无法及时得到回复,这很可能造成客户的流失,影响网站的收入。 tawk.to就是一款免费的网站客服聊天工具,它可以解决你网站在线客服的问题,更重要的是它非常简单、易用,非常适合广大【阅读全文】

  2. 如何挑选一个适合自己的CMS?

    1. 写在前面 1.1 CMS是什么? CMS是Content Management System的英文缩写,中文译作内容弄管理系统。说得简单点,Wordpress这种博客系统就是一种CMS。 一般的CMS都有前台(显示博文、帖子等),有后台管理系统(发帖、删帖、设置账户、设置皮肤……) 1.2 CMS【阅读全文】

  3. Netflix最新安卓版下载

    寻找世界上最好看的电视剧和电影?赶快下载Netflix。 Netflix上有获奖剧集、电影、纪录片和特别节目。通过手机App,你可以在旅行、上下班的路上或休息时观看Netflix。 【阅读全文】

  4. Facebook Messenger最新安卓版下载

    很多国外的软件在国内不容易找到下载资源,而且国内很多下载资源都有病毒或者篡改了原程序。 所以我们下载了这些软件的原版,希望可以帮助大家节省一些时间。 所有软件仅供学习使用,请不要用于非法途径。 【阅读全文】

  5. 这些网站可以让你更有创意!

    其实创意从来都不是凭空产生的,创意需要基础、素材和灵感。博学多才和见多识广的人,往往能源源不断地产生更多创意,而平时不喜欢接触新东西的人,往往苦思冥想也想不出什么点子来。 【阅读全文】