Markdown Front Matter Parser
CodeSplit a Markdown document into its YAML front matter fields and body content
Paste a Markdown document with a YAML front matter block at the top (the section between two --- delimiter lines used by static site generators like Jekyll, Hugo, and Next.js MDX pipelines) and get back the parsed fields and the body content separately. It handles plain string, quoted string, boolean, number, and null scalar values, plus inline arrays like tags: [a, b] and YAML block lists written on their own indented lines. It is intentionally not a full YAML parser: nested mappings and multi-line block scalars are not supported, so front matter that goes beyond flat key-value pairs and simple lists will need a real YAML parser instead. A document with no opening delimiter is passed through unchanged with hasFrontMatter set to false rather than treated as an error.
How to use Markdown Front Matter Parser
- 1.Paste a Markdown document that starts with a --- delimited front matter block.
- 2.Read the parsed fields in the table, with each value's inferred type (string, number, boolean, null, or array).
- 3.Copy the front matter as JSON or copy the body content separately for use downstream.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/markdown-front-matter-parser \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"input":"---\ntitle: Hello World\ntags: [foo, bar]\n---\n# Body"}'Get an API key from your dashboard · Full API docs →