HAML logo


HTML Abstraction Markup Language - A Markup Haiku
+ 1

What is HAML?

Haml is a markup language that’s used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content.
HAML is a tool in the Languages category of a tech stack.
HAML is an open source tool with 3.7K GitHub stars and 570 GitHub forks. Here’s a link to HAML's open source repository on GitHub

Who uses HAML?

133 companies reportedly use HAML in their tech stacks, including StackShare, Accenture, and Bukalapak.

284 developers on StackShare have stated that they use HAML.

HAML Integrations

Pros of HAML
Clean and simple
No html open/close tags
Easier to write than ERB
Forces clean and readable code
Simpler markup language
Open Source
HTML Templating
You'll love it if you like Haikus

Blog Posts

HAML Alternatives & Comparisons

What are some alternatives to HAML?
Slim is easy to use for both beginners and professionals. Slim favors cleanliness over terseness and common cases over edge cases. Its interface is simple, intuitive, and extensively documented — both online and in the code itself.
This project was formerly known as "Jade." Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers.
A human-readable data-serialization language. It is commonly used for configuration files, but could be used in many applications where data is being stored or transmitted.
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives

HAML's Followers
332 developers follow HAML to keep up with related blogs and decisions.