Skip to content
migration.tools
Front matter to YAML, TOML, JSON

Front matter converter

Switching static site generators usually means switching front matter conventions too. Convert the block at the top of each file between YAML, TOML and JSON — the body is left byte-for-byte alone — and optionally rename the fields that differ between Jekyll and Hugo.

Options
Jekyll → Hugo: permalink → url, published → draft (inverted), category → categories.

Markdown file

Converted file

The result appears here as soon as there is input.

Processed on this device. Nothing you paste or drop is uploaded.

How to use it

  1. 1Paste your Front matter or drop a file onto the input panel.
  2. 2Adjust the options — the result updates as you type.
  3. 3Copy the YAML, TOML, JSON or download it. Drop several files to convert a batch into one ZIP.

What the Jekyll → Hugo preset changes

permalink becomes url. published: false becomes draft: true (the meaning is inverted, so the value is too). A single category becomes a categories list, and space-separated tags become a proper list.

Everything else is carried across unchanged, including nested values. The file name and body aren't touched, so the result drops straight into your content folder.

Questions

Can I convert a whole content folder?

Yes. Select or drop all the Markdown files at once; each keeps its file name and they come back as one ZIP. Files without front matter are reported, not altered.

Guides that use this tool