Boneyard Tools

Markdown Front Matter Extractor

Drop in a Markdown file to pull out its front matter, the small block of metadata at the very top. YAML fenced by --- lines, TOML fenced by +++ lines, and a leading JSON object are all recognized automatically. Each field is listed in a table and the Markdown body is shown below, so you can confirm a post's title, tags, draft flag, and dates at a glance. The file is read entirely in your browser and never uploaded.

How to extract Markdown front matter

  1. Drag a .md or .markdown file onto the box, or click to browse for one.
  2. Read the detected format and the key/value table of front-matter fields.
  3. Scroll the body preview to confirm the content below the front matter.

Examples

A Jekyll post with YAML front matter

---
title: Hello World
draft: false
tags:
  - intro
---
# Hello
Format: YAML; title = Hello World, draft = false, tags = [intro]

Frequently asked questions

Is my Markdown file uploaded anywhere?

No. The file is read and parsed entirely in your browser using JavaScript. Nothing is sent to a server, so drafts and private notes stay on your device.

Which front-matter formats are supported?

Three: YAML fenced by lines of three dashes (---), TOML fenced by lines of three plus signs (+++), and a leading JSON object. The format is detected from the opening delimiter, so you do not have to pick one.

How are nested values like lists and objects displayed?

Each top-level field becomes one table row. Strings show as-is, while lists, objects, numbers, and booleans are stringified (lists and objects as compact JSON) so a nested value still fits in a single readable cell.

What happens if the front matter is malformed?

The tool reports the parse error instead of crashing. It still tells you which format it detected and shows the document body, so you can find and fix the broken line.

How complete is the TOML parsing?

TOML support is a light key = value reader aimed at previewing common Hugo-style front matter. It reads top-level keys, skips comments and table headers, and coerces obvious booleans and numbers. For deeply nested TOML, treat the preview as a summary.

What counts as the body?

Everything after the closing delimiter of the front-matter block. If a file has no recognized front matter, the whole document is treated as the body and no fields are shown.

Related tools