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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

word2html-0.4.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

word2html-0.4.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file word2html-0.4.0.tar.gz.

File metadata

  • Download URL: word2html-0.4.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for word2html-0.4.0.tar.gz
Algorithm Hash digest
SHA256 8e3e3837ff32234eb6a467b387b9a0cfb4cf6250c010b8632b54aaaaafc76ea3
MD5 1afb57faabf992a394f8691ac68ff0a1
BLAKE2b-256 704fc47dfd2a9f2f72ff4ebdf3f392286ffc4302323d4a0939ffbf4af3dd164a

See more details on using hashes here.

File details

Details for the file word2html-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: word2html-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for word2html-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfcf2e73d552b7244d7192355b0b7fde99b300a21c33d09f832160e3438ceaeb
MD5 1cb6b7e7c0bef53ccf3aa705ff55ed92
BLAKE2b-256 19f77013fccd62e9265456ec10c024747d8703d486dd7be63eee757b3ac390e5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.2.0

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page