PyHtmlEdit is a simple Python text editor optimized for the kinds of HTML formatting that I commonly do.

By Ryan McGreal

Posted September 09, 2009 in Projects (Last Updated May 27, 2020)

You can download pyhtmledit from its Github repository.

PyHtmlEdit screenshot
PyHtmlEdit screenshot

  • Current Version: 3.1 (released 2020-05-27)

Note: PyHtmlEdit has been completely updated as of Version 3. It now runs on Python 3.x, not Python 2.x, as the latter is obsolete and is no longer being supported.

PyHtmlEdit 3 also runs using the Tkinter GUI library, which is built into Python installations, instead of the wxPython library, which turned out to be more hassle than it was worth.

You also need to have the python-markdown2 and html2text libraries installed.

The features include:

  • Convert between Markdown and HTML.
  • Search, Replace Next and Replace All.
  • Undo and Redo.
  • A Clean function that removes MS Word special characters.
  • HTML element formatting, including converting a tab-delimited list to an html table.
  • Lowercase, Proper Case and Uppercase functions.

This software is released under the GNU General Public Licence, Version 2.