HTML Tidy broken in Notepad++

If you’re running Notepad++ on Windows 7 x64 like me, you’ll notice that after a clean install of v6.1.1 you can no longer use HTML Tidy. This plugin is very useful if you spend lots of time looking at or cleaning up other people’s HTML code. I don’t know where I’d be without HTML Tidy. Anyhow…there’s a fix. It involves downloading an older zipped version of Notepad++ (v5.9), extracting a folder from the zip file and copying it to your Notepad++ program files directory. Here’s how to do it:

[the problem]

After installing Notepad++ v6.1 via the installer on Windows 7 x64 and then adding the TextFX plugin through the plugin manager, you get this when trying to use HTML Tidy:

A menu option that says something about reloading the libtidy.dll but does not actually do anything.

[the solution]

[step 1] Close Notepad++ and in Explorer, navigate to C:Program Files (x86)Notepad++plugins.

[step 2] Download version 5.9.0 of Notepad++ as a zip file.

[step 3] Open the zip file in another Explorer window and drag the Config folder in npp.5.9.bin.zipunicodeplugins to the explorer window you opened in [step 1] (C:Program Files (x86)Notepad++plugins). In other words, extract the Config folder in the zip file to your installations plugins folder.

[step 4] Re-open Notepad++ and voila!

Comments

10 responses to “HTML Tidy broken in Notepad++”

  1. appreciative Avatar
    appreciative

    lifesaver

  2. Nguoi An Phu Avatar

    Very useful post! Thanks so much!

  3. Gregg Leichtman Avatar
    Gregg Leichtman

    You also have to have the TextFX dll NppTextFX.dll installed directly under the plugins directory for this to work.

  4. works! Avatar
    works!

    Thanks, it worked!

  5. Cindy Avatar
    Cindy

    You, Sir, are a lifesaver!! OMG! THANK YOU THANK YOU THANK YOU!!!

  6. Kevin Avatar
    Kevin

    Sweet Mother of God :O :O You’re a live-saver man!!! I hope your live to 100 😛

  7. Chinh Vo Wili Avatar
    Chinh Vo Wili

    Thank so much. This is my searching

  8. Juan M Avatar
    Juan M

    thanks it just Works!!

  9. fdfsq Avatar
    fdfsq

    still working in 2016!

  10. Josip Avatar
    Josip

    I search this a long time but always has some bug. This work OK but not perfectly. When I want “TiDy Clean Document xxxx” throw up some error, but make a good job.