Convert existing html.erb to Haml [closed]

You can use from the command line html2haml

html2haml your_erb_file new_haml_file

If you want to convert all your files in one go, look at this article : http://shifteleven.com/articles/2008/06/08/converting-erb-to-haml-snippet


There you go: http://html2haml.heroku.com/

EDIT: Moved to https://html2haml.herokuapp.com/


http://www.htmltohaml.com

A more user-friendly alternative to the selected answer.