Sweep Away your Poor HTML Clutter

Use Balthisar Tidy to make sure your HTML is clean, error free, and accessible. Now with HTML5 support Balthisar Tidy surpasses Mac OS X's built-in, terminal version of this venerable tool.

  • Supports every Mac OS X file encoding.
  • See a live preview of the effects each Tidy option has on your code.
  • Identify errors and be directed to their exact location in your source code in an instant.
  • Correct errors in the source document immediately.
  • Identifies and automatically corrects several potential errors.
  • Automatically cleans up ugly code from HTML generator applications.
  • Identifies opportunities to ensure accessibility compliance.
  • Pretty-print formats your source code for maximum legibility.
Tidy Screen Shot

The Main Screen…

The main screen options you set take effect immediately on the “Source HTML,” as shown in the “Tidy HTML.” The “Tidy Messages” indicate errors in the original code, as well as any corrections that have been made for you.

The Preferences Windows…

THE PREFERENCES WINDOWS provide a central location to set preferences for the customization of Balthisar Tidy. It is divided into several pages that offer you complete control over its working environment and appearance.

Tidy Screen Shot
Tidy Screen Shot
Tidy Screen Shot
Tidy Screen Shot
Tidy Screen Shot
Tidy Screen Shot

Some Balthisar Tidy HTML FAQ’s

What are the system requirements?

The current version is targeted for Mac OS X 10.8 or newer. It will not work on older versions of Mac OS X. Visit the Downloads page for older versions that should work on older Mac OS X.

Where can I find out more about Tidy?

The engine that drives Balthisar Tidy is a customized version of TidyLib by Charles Reitzel et al. For everything that’s publicly known about HTML Tidy and TidyLib, please consider paying a visit to the Tidy project’s homepage at http://tidy.sourceforge.net.

Starting with the December 2013 releases, Balthisar Tidy is using the “experimental html5” version released by W3C on github: https://github.com/w3c/tidy-html5.

Starting with the July 2014 releases, Balthisar Tidy is using our own fork of the above version: https://github.com/balthisar/tidy-html5. Our version incorporates several changes from uncommitted pull requests as well as allows superior language localization.

Can I get the source code?

Yes! Check out Balthisar Tidy at github.

Some Balthisar Tidy HTML App Store FAQ’s

What’s the difference between the App Store version and the version here?

Other than sandboxing and app updating, the differences are negligible: the version distributed here is capable of automatic updating from the internet at large, and the App Store version can only be updated from the App Store. The Preferences of the two versions reflect this difference.

The new, Balthisar Tidy for Work version is also nearly identical, but additionally offers AppleScript and Unix Configuration File support.

Sandboxing sounds like a big deal, doesn’t it?

Nah. Not for what Balthisar Tidy does. It doesn’t really need any privileges other than opening and saving your files, and sandboxing is an App Store requirement. It would be elementary to sandbox the version distributed here, too, but it’s not compatible with the auto-update mechanism that Balthisar Tidy uses.

What about software updates?

Apple’s only permitted method of acquiring software updates for App Store apps is via the App Store. The version available on our website is capable of updating itself directly using Sparkle (which, even if you don’t recognize the name, is ubiquitous). The App Store version has to wait for Apple to review it before becoming available. The website version has to wait for me to post it. Odds are they’re pretty much in sync most of the time.

App Store version? Is this a money grab?

Nope. Balthisar Tidy in the App Store is absolutely free. No advertisements, no nag messages, and in short, no reason not to use it exists.

In July 2014, we released the new Balthisar Tidy for Work as a paid App Store app. It’s quite reasonably priced and all gross proceeds will be used to help pay for language localization.

It’s open source! You can’t put it in the App Store!

Sure I can. It’s open source because I want it to be. And although it uses some other open source code, that’s all BSD-style licensed.

It’s open source! I don’t have to pay for the Work version

That’s correct. The source code is on github, and you can build Balthisar Tidy for Work yourself. You could probably submit your own copy to the App Store, too, if you wanted to be a person no one in the world likes.

Change Log

Balthisar Tidy 2.0.0 (July 2014)

  • New Features
    • Toolbar with quick access to Balthisar Tidy's new features.
    • Show/Hide the Tidy Options panel on documents.
    • Show/Hide the Tidy Messages panel on documents.
    • Can display the source code view vertically now in addition to the traditional, horizontal layout.
    • Tidy options are much more beautiful with groups headers to indicate option categories.
    • New, modern Preferences system with lots of new options.
    • Brand new, improved help file.
    • New application and document icons.
    • New main menu items to support new functionality.
    • Fixed a bug that allows two first-run helpers to be opened at the same time, which caused a crash.
    • Renamed the "first run helper" to "Quick Tutorial."
  • New Features (Balthisar Tidy for Work)
    • Introducing Balthisar Tidy for Work.
    • Can export option settings to Unix configuration files.
    • AppleScript support.
  • Changes developers will notice
    • JSDTidyModel has been refactored just a little bit.
    • The entire TidyDocument architecture has been re-written from the ground up in order to implement a better MVC object model and break apart the massive DocumentController.
    • OptionPaneController has been slightly refactored to become a ViewController.
    • Bit the bullet and use my own fork of TidyLib. Source is still compatible. This was done in order to incorporate the community pull requests that haven't been accepted by the maintainer yet.
    • New help building automation system.

Balthisar Tidy 1.5.0 (May 2014)

  • Visible Changes
    • The application in general has had several improvements.
      • New application and documents icons retaining the trademark Tidy Broom).
      • Added missing View menu in the main menu.
      • Added support for printing the Tidy'd text.
      • Added a Show New User Helper to the Help Menu.
    • The documents window is now improved.
      • New documents retain the position and size of last-used document.
      • New documents splitter positions are retained based on last-used document.
    • The Tidy options panel is improved.
      • It is now a modern Mac OS source list, including new controls.
      • Apply document's Tidy options to preferences (in a document).
      • Reset document options to preferences settings (in a document).
      • Revert to Tidy factory presets (while in Preferences).
    • The Messages panel has some improvements.
      • It now has some pretty icons to help distinguish severity.
      • Columns are now all sortable.
  • Changes developers will notice
    • Project directory layout changes.
    • Back to icns files for all icons.
    • Separated JSDTidyModel .strings into its own file.
    • Modified base TidyLib to allow a new callback filter to enable localization of output messages.
    • Added lots of strings to the new JSDTidyModel.strings to allow easy localization.

Balthisar Tidy 1.1.0 (April 2014)

  • Keyboard shortcuts! You can cycle through the values in nearly every option with the left and right cursor keys while the options list is focused
  • Now works with nearly any file type and extension
  • First-run helper reworked to prevent annoying users
  • Auto-size the description for items in the list of Tidy options
  • Description can be hidden or shown
  • Changes to many of the Tidy options descriptions
  • Pretty, styled descriptions of the Tidy options to increase legibility
  • Removed extraneous menu items in the application menus
  • Prevent automatic text substitutions in source editor
  • Tidy properly Tidy's new, blank documents
  • Pasting into a new, blank document now properly Tidy's immediately
  • Fixed a crash related to messages table when a change to the HTML source fixes an error but doesn't cause the Tidy'd document to change
  • Fixed an issue where messages table didn't update after saving a file
  • New default font in editor views
  • Existing preferences will be lost. Sorry, this is a one time occurrence. We changed a 12 year old preferences system into a modern one. We hope that a little bit of change after 12 years is acceptable

Balthisar Tidy 1.0.1 (March 2014)

  • Introduced backward support to Mac OS X 10.8 Mountain Lion
  • Added a "first run helper" to give an overview to new users
  • Added an Apple Help Help Book to provide fairly good documentation
  • Added a file encoding helper to help users when Tidy thinks that the input-encoding is set wrong
  • Added the Sparkle update engine to offer automatic updates
  • Added preferences to support Sparkle
  • Tweaked other preferences’s layouts for better usability and to support Cocoa bindings
  • Other code tweaks, changes, and simplification

Balthisar Tidy 0.7 (December 2013)

  • Visible changes
    • Built for Mac OS X 10.9 (now minimum supported OS)
    • Added Mac OS X full-screen support
    • Added developer signature to make Gatekeeper happy
    • Added Retina display App icons
    • New file icons including support for Retina displays
    • Improved the line numbers for the HTML and Tidy’d View
    • Added and changed information in Tidy->About
    • Default document window is larger.
    • Tweaked the document window layout and appearance
    • Tweaked the preferences window
    • Adopted the most recent version of W3C TidyLib (more options!)
    • Cleaned up remaining batch mode references. Will add in roadmap later.
    • Cleaned up file encoding mechanism
  • Invisible changes
    • Significant source code cleanup for legibility
    • Some refactorization
    • Some migration to modern Objective-C style
    • Patched some memory leaks
    • Removed all deprecated calls
    • Started ivar to property conversion
    • Eliminated all compiler warnings (except for TidyLib proper)

Balthisar Tidy 0.6 (November 2007)

  • Added support for universal binary.
  • Now requires Mac OS X 10.4 or higher.

Balthisar Tidy 0.5 (February 2003)

  • Added support for a live error list in the document window.

Balthisar Tidy 0.1 (December 2002)

  • Initial release of Balthisar Tidy.
  • Requires Mac OS X 10.2 or higher.