String Utilities Tool updated 2 months ago

Markdown Front Matter Extractor

Separate YAML front matter from the body of any Markdown file. The tool returns the raw YAML, parsed metadata, and the content without the metadata block.

Always Free Easy to use Instant results Private and secure

Use Markdown Front Matter Extractor

Markdown Front Matter Extractor

Extract YAML front matter, parsed metadata, and clean Markdown content from documents.

Input Markdown

Paste Markdown that may start with YAML front matter
Front matter starts with --- on the first line and ends with another ---.
No front matter
Detection status
0 keys
Metadata fields

Extracted Result

Metadata, raw YAML, content, and full JSON
Copy Raw YAML
Copy Content
Front matter tip
Use this tool for blog posts, documentation pages, static-site content, changelogs, and files with YAML metadata.

Read Content

Learn how the tool works and when to use it.

The Markdown Front Matter Extractor parses YAML front matter from Markdown files used in static site generators like Jekyll, Hugo, and Eleventy, and returns the metadata and remaining content separately.

Why Use This Tool?

Front matter contains important metadata like title, date, tags, and layout. Extracting it helps with content management, bulk metadata editing, and migrating between static site generators.

How It Works

  • Paste Markdown content that starts with YAML front matter.
  • Click Extract to parse the metadata block.
  • View the parsed JSON, raw YAML, and the content without front matter.
  • Copy sections individually or download the full JSON.

Key Features

  • Supports YAML front matter (--- delimiters)
  • Returns has_front_matter flag, metadata, raw YAML, and content
  • Copy raw YAML, content, or full JSON
  • Download full JSON report

Comments (0)

For user discussion, edge cases, and follow-up tips.
Leave a comment
Your comment will appear publicly after submission.
No comments yet. Be the first to comment!
Let Us Know!
Report an issue with this tool

Describe the issue you encountered so we can investigate and improve the tool.

What helps most
Include the input, expected result, actual result, browser/device, and a screenshot when helpful.
The screenshot button captures the page in the browser and attaches the generated image to this form.
Full-page screenshot
Captured in your browser with newisty.
No screenshot captured yet.
Tool Report