Pandoc is a universal document converter, an open-source command-line tool and library that enables conversion between a wide range of markup and word processing formats, making it useful for tasks like converting Markdown to HTML, PDF, or DocX, or LaTeX to Markdown.