Skip to content
Join

Markdown Front-Matter Validator & Sanitizer

Paste Markdown front matter and instantly validate YAML, TOML, or JSON syntax, auto-fix common mistakes, check required fields per site generator, and export a JSON Schema — 100% free, runs entirely in your browser.

on-device Front Matter → Validated + Sanitized free · no account

Markdown Front-Matter Validator & Sanitizer

The only browser-based tool that validates, sanitizes, and exports CI-ready front matter schemas. Auto-detects YAML, TOML, and JSON formats with SSG presets.

📝 Input auto-detect 0 issues
✅ Sanitized Output YAML
Paste content to see sanitized output…
📊 Extracted Metadata Click an issue line to jump to it
📚 Batch Results 0 files
# File Status Issues Format

processed in your browser · never uploaded

How to use it

Markdown Front-Matter Validator & Sanitizer
in three moves.

01

Paste your front matter

Paste a Markdown file with YAML, TOML, or JSON front matter, or click "Example" to see a sample.

02

Pick a format and SSG preset

Leave format on auto-detect, and choose your static site generator if you want its specific required/recommended fields checked.

03

Review the validation results

See errors, warnings, and auto-fixes side by side with the sanitized output, plus an extracted metadata table.

04

Click an issue to jump to it

Each flagged issue links to its line number in the input so you can fix it fast.

05

Export what you need

Copy or download the sanitized file, export a JSON Schema for your content, or copy a ready-made GitHub Actions workflow to validate front matter in CI.

Formats & limits

What goes in, what comes out.

Format field guide
Input Output Typical saving Best for
Markdown file(s) with YAML/TOML/JSON front matter, single or batch Sanitized front matter, validation report, JSON Schema, CI workflow Replaces manual review + a Node lint setup with a few seconds in-browser Static site authors, technical writers, teams standardizing content schemas across a site
Why this one

Built against the ways these tools disappoint.

We ran the same files through the popular alternatives first. These are the gaps we found, and what this tool does instead.

01

Most free front matter tools are visual editors or format converters — they'll reformat your YAML but won't tell you if a required field for your specific static site generator is missing.

Built-in presets for Jekyll, Hugo, Astro, Eleventy, Docusaurus, and Hexo check your front matter against each generator's actual required and recommended fields.

test: Paste front matter missing a date field, select "Hugo" as the preset, and check that it's flagged as a required-field error, not just ignored.
02

Full front matter validation usually means installing a Node package (remark-lint, Vale) and wiring it into a build pipeline before you get any feedback at all.

Validate instantly in the browser, then export a ready JSON Schema and a working GitHub Actions workflow so you can wire the same rules into CI without writing them from scratch.

test: lick "Copy CI workflow" and paste it into a .github/workflows/ file — it references the exported frontmatter-schema.json and is ready to run on push.
03

A stray unquoted colon or special character in a title can silently break YAML parsing, and most tools won't catch it until your build fails.

Titles with special characters get auto-quoted, dates get checked for ISO-8601 compliance, and duplicate YAML keys (which parsers silently overwrite) are flagged before they become a bug.

test: Paste title: Guide: How to build tools (an unquoted colon inside the value) and watch it get auto-quoted in the sanitized output.
Key Factors

What makes this the best free front matter validator

Knows the difference between generators

Hugo, Jekyll, Astro, Eleventy, Docusaurus, and Hexo each expect different required fields. This tool checks against each generator's actual conventions instead of applying one generic rule set to everything.

Goes beyond validation into CI

Most free tools stop at "this is valid" or "this is broken." This one exports a JSON Schema and a working GitHub Actions workflow, so the same checks you just ran in the browser can run automatically on every push.

Catches mistakes that silently break builds

Unquoted special characters, non-ISO-8601 dates, and duplicate YAML keys often pass a casual read-through but break a build later. This tool flags and, where safe, auto-fixes them immediately.

Nothing leaves your browser

Parsing, validation, and exports all run client-side. Your content is never sent to a server — only saved locally in your browser so you don't lose work on a refresh.

The detail

How this actually works.

Markdown Front-Matter Validator & Sanitizer: Validate YAML, TOML & JSON Front Matter Free

Front matter looks harmless — a few lines of metadata sitting above your actual content, wrapped in three dashes. But it’s also one of the easiest places for a static site build to quietly break. A missing required field, an unquoted colon inside a title, a date that isn’t quite ISO-8601, and your build either fails outright or, worse, publishes something wrong without telling you. This tool exists to catch those problems before they reach your build pipeline, right in your browser, for free.

Why Front Matter Breaks More Often Than It Should

Front matter is technically just YAML, TOML, or JSON, but it’s usually hand-edited by people who are thinking about content, not syntax. That’s exactly the gap where mistakes creep in: a title with a colon in it that isn’t quoted, a date typed as “Aug 19 2026” instead of “2026-08-19”, a duplicate key that YAML silently overwrites without warning, or a required field a particular site generator expects that simply got left out.

None of these mistakes look wrong at a glance. They only show up when a build fails, or worse, when it doesn’t fail and just renders something incorrectly. Catching them at the point of writing — instead of at the point of deploying — is the entire premise of this tool.

What This Tool Actually Checks

This isn’t a generic YAML linter. It’s built specifically around how front matter gets used in real static site generators:

  • Format auto-detection — paste your file and it identifies YAML (---), TOML (+++), or JSON front matter automatically, no need to specify it yourself.
  • Generator-specific validation — select a preset for Jekyll, Hugo, Astro, Eleventy, Docusaurus, or Hexo, and the tool checks your fields against what that specific generator actually requires or recommends, not a one-size-fits-all rule set.
  • Auto-fixes for common mistakes — titles with unsafe characters get automatically quoted, missing slugs get generated from your title, and stray trailing colons on keys get cleaned up.
  • Date validation — flags any date that isn’t in proper ISO-8601 format, the format nearly every static site generator expects.
  • SEO-aware checks — warns when a title or description runs outside the length search engines typically display well, and flags when a description is missing entirely.
  • Duplicate key detection — YAML parsers silently keep only the last value when a key is repeated. This tool catches that before it becomes a confusing bug.
  • Batch validation — paste multiple files separated by --- and validate all of them in one pass, with a downloadable pass/fail report.

Beyond Validation: Schema and CI Export

Most free front matter tools stop once they’ve told you something is valid or broken. This one goes a step further for teams that want consistency enforced automatically, not just checked manually:

  • JSON Schema export — generates a schema from your current front matter fields, ready to use with schema-validation linters in your own build pipeline.
  • GitHub Actions workflow export — copies a ready-to-use CI workflow that validates front matter automatically on every push or pull request touching your content files.

That combination — instant browser-based validation plus exportable schema and CI configuration — is what separates this from either a simple visual editor or a developer-only command-line linter. You get the immediate feedback of a browser tool and a direct path to enforcing the same rules in your actual pipeline, without writing the schema or workflow file by hand.

Who This Tool Is For

Static site authors using Hugo, Jekyll, Astro, Eleventy, Docusaurus, or Hexo can check a post’s front matter before committing it, catching missing fields or formatting issues immediately instead of after a failed build.

Technical writers and documentation teams can standardize metadata across dozens or hundreds of pages, using the JSON Schema export to keep everyone’s front matter consistent.

Developers setting up a new content pipeline can use the CI workflow export as a starting point for enforcing front matter rules automatically, without researching remark-lint configuration from scratch.

Anyone migrating content between static site generators can quickly see which fields are missing for the new generator’s conventions before doing a bulk migration.

How to Use It

  1. Paste a Markdown file with front matter into the input panel, or click “Example” to see a sample first.
  2. Leave the format on auto-detect, or choose YAML, TOML, or JSON manually.
  3. Optionally select your static site generator to check against its specific required and recommended fields.
  4. Review the sanitized output alongside any errors, warnings, and auto-fixes, each linked to its line number.
  5. Copy or download the sanitized file, export a JSON Schema, or copy a ready GitHub Actions workflow for CI validation.

A Note on Privacy

Everything runs client-side in your browser — parsing, validation, sanitizing, and every export. Nothing is sent to a server. Your content is only kept locally through your browser’s autosave so you don’t lose your work on a refresh, and is never transmitted anywhere.

Try It Now

Paste your front matter above, or load the example to see it in action. No account, no install, no build step required — just validated, sanitized front matter in seconds.

Last reviewed August 2026 · this tool runs on-device.

FAQ

The questions people actually type in.

What front matter formats does it support?

YAML (---), TOML (+++), and JSON front matter, with automatic format detection.

Does it check requirements for my specific static site generator?

Yes. Select a preset for Jekyll, Hugo, Astro, Eleventy, Docusaurus, or Hexo, and the tool checks your front matter against that generator's required and recommended fields.

Will it fix issues automatically?

Some, yes — unsafe titles get auto-quoted, slugs get auto-generated from your title if missing, and trailing colons on keys get stripped. Anything that needs a judgment call (like a missing required field) is flagged instead of guessed at.

Can I validate multiple files at once?

Yes — turn on batch mode and separate files with ---, then download a pass/fail report for all of them.

What's the JSON Schema export for?

It generates a schema from your current front matter fields, which you can use with tools like remark-lint-frontmatter-schema to enforce the same structure across your content in CI.

Next

Tools people use with this one.

All 38 tools
URLs → Status Report

Bulk URL Status Code Checker

Paste up to 500 URLs and instantly see status codes, redirect chains, soft‑404 warnings, response times, and headers — 100% free, no sign‑up.

server · 1h delete Open
json -> json.min

JSON minifier

Minify JSON, beautify it back, and see the real compressed size. Flags duplicate keys your parser silently drops.

on-device Open

SVG Minifier

Minify and clean SVG files in your browser. Remove editor bloat, optimize numbers and colors, clean unused attributes, and keep your SVGs scalable.

on-device Open