Parsedown
Markdown parser for PHP, distributed as a single class file with no dependencies.
Parsedown converts Markdown text into HTML with PHP, as a single class file with no dependencies. Its README calls its parsing approach line based: it reads the lines to recognise blocks, then the special characters to recognise inline elements.
Worth knowing
The README says to turn on safe mode when processing untrusted user input, and warns that its markup escaping setting is not safe from XSS. It says the parser passes most CommonMark tests, not all of them.
Identity
- Status
- Active
- Maintainer
- Emanuil Rusev4
- Maintained by
- Individual
- First release
- 20133
Rendering and deploy
- Install with
- composer, download5
Releases
Adoption
Sources
- 2026-11-16: links
parsedown.org/ - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/erusev/parsedown - 2026-11-16: First release
api.github.com/repos/erusev/parsedown/commits/c1bbcb1abd73ce7dcec05fb07f9b0d3c4260611f - 2026-11-16: Maintainer
github.com/erusev/parsedown/blob/master/LICENSE.txt - 2026-11-16: Categories, Install with
github.com/erusev/parsedown/blob/master/readme.md - 2026-11-16: Runtime, Minimum runtime
github.com/erusev/parsedown/blob/1.8.0/composer.json - 2026-11-16: Current major version, Last release
github.com/erusev/parsedown/releases/tag/1.8.0 - 2026-11-16: Contributors
api.github.com/repos/erusev/parsedown/contributors?per_page=1 - 2026-11-16: Packagist downloads
packagist.org/packages/erusev/parsedown.json