# markdown-to-jsx

> A fast, versatile Markdown toolchain for React and more

Source: https://talira.ai/catalog/markdown-to-jsx-y6s8rp7w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / markdown](https://talira.ai/categories/developer-tools/parsing/markdown)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Evan Jacobs](https://talira.ai/orgs/quantizor.md)
- Creator: Evan Jacobs

markdown-to-jsx is a GFM and CommonMark compliant Markdown parser and compiler for JavaScript and TypeScript, fast enough for real-time use on large documents. Its `<Markdown>` component and compiler turn Markdown into React elements, and it also outputs to React Native, SolidJS, Vue, HTML, Markdown or an AST, including React Server Components. HTML inside the Markdown is parsed into JSX instead of injected with `dangerouslySetInnerHTML`, raw HTML goes through a sanitizer you can replace (or is ignored), and any tag it renders can be overridden with your own component. It supports every GFM syntax (tables, task lists, strikethrough, autolinks, tag filtering), streaming Markdown, shortcodes and syntax highlighting through highlight.js, and has no runtime dependencies.

## Links

- Website: https://markdown-to-jsx.quantizor.dev/
- GitHub: https://github.com/quantizor/markdown-to-jsx

## Problems it solves

- render Markdown in a React app without dangerouslySetInnerHTML
- replace HTML tags in rendered Markdown with my own React components
- render Markdown from an LLM as it streams in
- a small Markdown renderer for React with no dependencies
- render Markdown in React Native, SolidJS or Vue
- parse Markdown to an AST in TypeScript

## Features

- GFM and CommonMark compliant
- outputs React, React Native, SolidJS, Vue, HTML, Markdown or an AST
- React Server Components
- HTML parsed into JSX without dangerouslySetInnerHTML
- replaceable sanitizer for raw HTML, or ignore HTML blocks
- override any rendered tag with a component
- streaming Markdown
- no runtime dependencies

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- backed by Evan Jacobs
- created by Evan Jacobs

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [react-markdown](https://talira.ai/catalog/react-markdown-jej89yf3.md): React component to render Markdown
- [Marked](https://talira.ai/catalog/marked-p0r09a5x.md): A Markdown parser and compiler, built for speed
- [markdown-it](https://talira.ai/catalog/markdown-it-f72jqe7v.md): Markdown parser done right: fast and easy to extend

## Sources

[^1]: https://github.com/quantizor/markdown-to-jsx/blob/main/lib/LICENSE (checked 23 Nov 2026)
