What is DotLiquid?

DotLiquid is a templating system ported to the .net framework from Ruby’s Liquid Markup.

It’s easy to learn, fast and safe

You can have your users build their own templates without affecting your server security in any way.


.NET Framework 4.5 or above.


DotLiquid is intended to be used in both open-source and commercial environments. To allow its use in as many situations as possible, DotLiquid is dual-licensed. You may choose to use DotLiquid under either the Apache License, Version 2.0 , or the Microsoft Public License (Ms-PL). These licenses are essentially identical, but you are encouraged to evaluate both to determine which best fits your intended use.

Around the web

What does it look like?

<p>{{ user.name }} has to do:</p>
    {% for item in user.tasks -%}
         <li>{{ item.name }}</li>
    {% endfor -%}

Get started

If you use NuGet, then the easiest way to get DotLiquid is to install the DotLiquid NuGet package.

Otherwise, grab the latest bits from github and compile it. All compiled builds are available from AppVeyor.

Read our documentation. Ask questions on Gitter, the DotLiquid Google Group or Twitter.

Projects that use DotLiquid