---
title: Convert Markdown to HTML content API
slug: convert-markdown-to-html
url: https://apyhub.com/apyhub/service/convert-markdown-to-html
provider: ApyHub
categories: [Developer Tools, File Conversion]
auth: api_key
---

# Convert Markdown to HTML content API

Convert Markdown from a JSON body or raw text/plain input into HTML. Use it for rendered content in docs, CMS, and publishing flows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/convert/md/html/json` | What it does Converts the Markdown string you send in the request body into a raw HTML stream. The… | 50 |
| POST | `/convert/md/html/raw` | What it does Converts a raw Markdown string sent in the request body into HTML and returns the conv… | 50 |

## About

## What it does
Markdown to HTML converts Markdown text into HTML, so you can render user-authored content in your app, CMS, or documentation pipeline.

Send either a Markdown string in the `body.content` field or raw `text/plain` Markdown in the request body. The service returns the converted HTML as a binary stream on `/json/raw`, or as a JSON envelope containing a `data` field on `/raw/json`. Both endpoints are built for the same core task: turning Markdown into HTML output you can store, render, or pass to another step.

Use Markdown to HTML when you need to accept lightweight formatted text from editors, support articles, README content, or message templates and publish it as HTML. It fits neatly into content workflows where authors write Markdown but your frontend or downstream system expects HTML.

The responses are intentionally simple. You get the converted HTML string, with no extra metadata or transformation fields to map.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/convert-markdown-to-html
