Skip to main content

🌟 Convert a Word Doc to html

🚀 Quick Start with uvx

The easiest way to run word2html without installing is using uvx:

uvx word2html /path/to/MyGloriousDoc.docx

This will give you a new file, /path/to/MyGloriousDoc.html, that's (hopefully) decent-looking html.

💾 Installation

To install with uv:

uv tool install word2html

Or with pip:

pip install word2html

Then run:

word2html /path/to/MyGloriousDoc.docx

🧪 Note on tests & versions

  • This project has NO TESTS! (feel free to add some of you think it should).
  • This project requires Python 3.12 or greater

📝 Note on Licenses

While this code is MIT-licensed, it uses boty pypandoc and pytidylib, both of which depend on other software that may not be MIT-licensed and must be installed for this to work.

  • pytidylib is available under the MIT license, and Tidy is available under an MIT-like license
  • pypandoc is available under the MIT license, while Pandoc is released under the GPL.

⭐ Star History

This project really started out as a joke -- although this is something I've done too many times. I'm always amazed at how many people have starred this repo. 🤩

Star History Chart

Release files for word2html 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for word2html 0.4.0
File Size Uploaded
word2html-0.4.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for word2html 0.4.0
File Interpreter ABI Platform
word2html-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / word2html-0.4.0.tar.gz

Download URL word2html-0.4.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8e3e3837ff32234eb6a467b387b9a0cfb4cf6250c010b8632b54aaaaafc76ea3
BLAKE2b-256 checksum
How to use checksums
704fc47dfd2a9f2f72ff4ebdf3f392286ffc4302323d4a0939ffbf4af3dd164a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / word2html-0.4.0-py3-none-any.whl

Download URL word2html-0.4.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dfcf2e73d552b7244d7192355b0b7fde99b300a21c33d09f832160e3438ceaeb
BLAKE2b-256 checksum
How to use checksums
19f77013fccd62e9265456ec10c024747d8703d486dd7be63eee757b3ac390e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page