Ghost to Markdown Converter

Online HTML to Markdown converter with automatic frontmatter — built for Ghost.

Try a sample:
Paste content to begin

No sign-upNothing leaves your browserFree to useTerms of Use

Ghost CMS Mobiledoc to Markdown Converter

Ghost CMS stores structured editor content as Mobiledoc JSON and outputs rich HTML on copy. As a dedicated Ghost Mobiledoc to Markdown converter, OG Bridge transforms clipboard HTML into clean ATX Markdown while sanitizing card wrapper classes like .kg-card.

Automated Ghost YAML Frontmatter Generation

Beyond Ghost CMS export HTML, our main converter also handles Notion, Obsidian, and Hugo. OG Bridge automatically extracts document headings to populate YAML title and kebab-case slug keys, setting draft: true and tags: [ghost].

---
title: Why Ghost Uses Mobiledoc
slug: why-ghost-uses-mobiledoc
date: 2026-07-30
tags:
  - ghost
draft: true
---

HTML to Markdown — Before and After

See exactly what OG Bridge produces from Ghost HTML — frontmatter included.

HTML Input
<article class="post-content">
  <div class="kg-card kg-image-card">
    <img src="hero.jpg" alt="Hero image" />
  </div>
  <h2>Why Ghost Uses Mobiledoc</h2>
  <p>Ghost stores content as Mobiledoc JSON,
  then renders it to HTML for the clipboard.
  Class names like kg-card and post-content
  travel with the markup on copy.</p>
  <ul>
    <li>Portable across themes</li>
    <li>Rendered server-side</li>
    <li>Clipboard carries full HTML</li>
  </ul>
</article>
Markdown Output
---
title: Why Ghost Uses Mobiledoc
slug: why-ghost-uses-mobiledoc
date: 2026-08-17
tags:
  - ghost
draft: true
---

## Why Ghost Uses Mobiledoc

Ghost stores content as **Mobiledoc JSON**, then
renders it to HTML for the clipboard. When you copy
from Ghost's editor, class names like `kg-card`
and `post-content` travel with the markup.

- Portable across themes
- Rendered server-side
- Clipboard carries full HTML

Frequently Asked Questions

Does OG Bridge send my Ghost content to a server?
No. All conversion runs inside your browser using JavaScript. Nothing you paste is transmitted anywhere.

How does Ghost HTML detection work?
Ghost HTML is identified by searching for elements with class names such as .kg-card or .post-content in the pasted clipboard data.

What frontmatter is generated for Ghost?
Ghost output includes title, a slugified slug, draft status, the current date, and tags configured as [ghost] in YAML.

HTML to Markdown Converters

All-in-One ConverterGhost to MarkdownNotion to MarkdownObsidian to MarkdownHugo to Markdown