Skip to content
YAML templating tool that works on YAML structure instead of text
Branch: master
Clone or download
Latest commit 142c0e0 May 23, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd moving to k14s org Mar 18, 2019
docs Fix small typo on template engine name May 16, 2019
examples add e2e test for overlaying on top of regular yaml files Mar 20, 2019
pkg set version to 0.11.0 May 23, 2019
vendor init Mar 1, 2019
.gitignore init Mar 1, 2019 init Mar 1, 2019
Gopkg.lock init Mar 1, 2019
Gopkg.toml init Mar 1, 2019
LICENSE init Mar 1, 2019
NOTICE init Mar 1, 2019 Update May 23, 2019

ytt (YAML Templating Tool)

ytt is a templating tool that understands YAML structure allowing you to focus on your data instead of how to properly escape it.


  • templating works on YAML structure (instead of text)
    • eliminates variety of problems such as invalid YAML formatting, escaping, etc.
  • syntactic sugar for single YAML node conditionals and for loops
    • makes it easier to read densely conditioned templated
  • templates are themselves valid YAML files
    • makes them friendly to existing editors and YAML tools
  • includes sandboxed "fully featured" Pythonic programming language
    • compared to what's exposed in go/template for example

Try out online playground or download latest binaries from Releases page (playground is included via ytt playground command).



Grab prebuilt binaries from the Releases page.

Try it

ytt -f examples/playground/example-demo/
ytt -f examples/playground/example-demo/ --output tmp/

See examples/playground/ for examples shown on


You can’t perform that action at this time.