- Home
- Resources
- Integrations
- Markdown
n8n Markdown nodeConfigure Markdown in n8n.
The n8n Markdown node converts data between Markdown and HTML without calling any API. One parameter drives it: Mode, with 2 choices and 4 fields underneath. It runs on every incoming item, needs no credential, and writes its result to the field you name in Destination Key.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n Markdown node actually do?
It takes text in one format and hands it back in the other. Markdown to HTML for anything that has to render in a browser or an email client, HTML to Markdown for anything that has to stay readable as plain text. The conversion happens inside the workflow, on each item that reaches the node, and the result is written into a field you choose rather than replacing the input.
Three jobs cover most of what people ask this node to do. The first is publishing. A post written in Markdown, pulled from a database or a form, has to become HTML before it lands in an email body. Set Mode to Markdown to HTML, point the Markdown field at the incoming text with an expression such as {{ $json.body }}, and push the result through Gmail without maintaining a template by hand.
The second job is the return trip. Newsletters, scraped pages and CMS exports arrive wrapped in tags, and nobody wants to read that in a chat window. HTML to Markdown strips the markup while keeping headings, lists and links, so the output drops cleanly into a Slack message or a cell in Google Sheets.
The third is storage hygiene. Destination Key accepts dotted paths, so article.content.html nests the converted text under the object it belongs to instead of flattening everything at the root of the item. Handy when the same item carries both versions of a document and a later node has to pick one.
Worth knowing when not to use it. HTTP Request is the node you reach for when a dedicated node is missing an HTTP API operation, and never for something that is not HTTP. Conversion is not an API call here: the node does the work in place, using Showdown for Markdown to HTML and node-html-markdown for the other direction. Sending your text to an outside converter would only add a step that can fail.
The limits are the ones you would expect from a formatter. It converts, and that is all: no fetching a page, no rendering a PDF, no checking that your HTML is valid. Options are tied to the mode you picked, and most of them start disabled, so Tables Support and Emoji Support do nothing until you add them with Add option. Keep Images With Data covers files up to 1MB. The page describes node version 1, and an older workflow may show fewer options than that. If you are still weighing the platform itself, the n8n review goes into the trade-offs.
How do you set up the Mode parameter?
The Markdown node has one parameter. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Mode
modeWhat you see in n8n
Notes & use cases
Mode sets the direction of the conversion and which input field the panel shows. Pick it first.
Key parameters
- Markdown to HTML (
markdownToHtml): converts data from Markdown to HTML, and the panel asks for the Markdown field. - HTML to Markdown (
htmlToMarkdown): converts data from HTML to Markdown, and the panel asks for the HTML field instead. - Destination Key: required, the field that receives the output. Dots create nested fields, as in
level1.level2.newKey. - Options: a collection opened with Add option, and the list depends on the mode you selected.
Need help automating Markdown with n8n?
A person reads every message.
Questions people ask next
01Is the n8n Markdown node free to use?
02What credentials does it need?
03What are the limits of the Markdown node in n8n?
04Markdown node or HTTP Request for a conversion?
05n8n or Make for this kind of formatting step?
Get our weekly integration tips.
No spam. Unsubscribe anytime.
