# Marked

> A Markdown parser and compiler, built for speed

Source: https://talira.ai/catalog/marked-p0r09a5x
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [developer tools / parsing / markdown](https://talira.ai/categories/developer-tools/parsing/markdown)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source.
- Free tier: yes[^2]
- Plugins: yes[^3]
- Backed by: [MarkedJS](https://talira.ai/orgs/markedjs.md)
- Creator: Christopher Jeffrey

Marked is a fast, low-level Markdown parser and compiler for JavaScript that turns Markdown into HTML in the browser, on a server or from its command line tool. It implements the original Markdown, CommonMark and GitHub Flavored Markdown, parses without caching or blocking for long, and can be extended with custom extensions, renderers, tokenizers and hooks. It doesn't sanitize its output, so HTML from untrusted Markdown needs a sanitizer such as [DOMPurify](https://talira.ai/catalog/dompurify-tes35ecb.md).

## Links

- Website: https://marked.js.org/
- GitHub: https://github.com/markedjs/marked
- Docs: https://marked.js.org/

## Problems it solves

- fast Markdown to HTML parser for JavaScript in the browser or Node.js
- convert a Markdown file to HTML from the command line
- render GitHub Flavored Markdown to HTML in JavaScript
- extend a Markdown parser with my own syntax
- parse large Markdown documents quickly without blocking

## Features

- Markdown, CommonMark and GitHub Flavored Markdown
- browser, Node.js and CLI
- custom extensions, renderers, tokenizers and hooks
- low-level lexer and parser access

## Limitations

- Doesn't sanitize the HTML it outputs: run the output through a sanitizer such as DOMPurify before showing untrusted Markdown[^1]

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.46 out of 1.
Signals: backing 0.50, extensibility 0.40.

- backed by MarkedJS
- created by Christopher Jeffrey
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [markdown-it](https://talira.ai/catalog/markdown-it-f72jqe7v.md): Markdown parser done right: fast and easy to extend
- [react-markdown](https://talira.ai/catalog/react-markdown-jej89yf3.md): React component to render Markdown
- [markdown-to-jsx](https://talira.ai/catalog/markdown-to-jsx-y6s8rp7w.md): A fast, versatile Markdown toolchain for React and more

## Sources

[^1]: https://github.com/markedjs/marked (checked 23 Nov 2026)
[^2]: https://github.com/markedjs/marked/blob/master/LICENSE (checked 23 Nov 2026)
[^3]: https://marked.js.org/using_pro (checked 23 Nov 2026)
