Software for converting between text document formats
Pandoc is afree-software document converter , widely used as a writing tool (especially by scholars)[ 2] and as a basis for publishingworkflows .[ 3] It was created byJohn MacFarlane , a philosophy professor at theUniversity of California, Berkeley .[ 4]
Pandoc dubs itself a "markup format" converter. It can take a document in one of the supported formats and convert only its markup to another format. Maintaining thelook and feel of the document is not a priority.[ 5]
Plug-ins for custom formats can also be written inLua , which has been used to create an exporting tool for theJournal Article Tag Suite , for example.[ 6]
An includedCiteProc option allows pandoc to use bibliographic data fromreference management software in any of five formats:BibTeX ,BibLaTeX ,CSL JSON or CSL YAML , orRIS .[ 7] The information is automatically transformed into acitation in various styles (such asAPA ,Chicago , orMLA ) using an implementation of theCitation Style Language .[ 7] This allows the program to serve as a simpler alternative toLaTeX for producing academic writing inMarkdown with inline citation keys.[ 8] Or the program can be used to convert any bibliographic data stream in the accepted formats into a list of citations in a chosen style.[ 9]
Supported file formats [ edit ] The input format with the most support is Pandoc's extended version ofMarkdown .[ 10] Notwithstanding, pandoc can also read in the following formats:
Bibliography data formats:BibTeX ,BibLaTeX ,CSL JSON or CSL YAML ,RIS , orEndNote XML Creole CSV andTSV tablesDocBook EPUB FictionBook (FB2)Haddock HTML Jira wiki markupJournal Article Tag Suite (JATS) and Book Interchange Tag Set (BITS)JSON Jupyter Notebook LaTeX man (roff ) and mdocMarkdown : Strict,CommonMark , Djot,GitHub Flavored Markdown (GFM),MultiMarkdown (MMD) andMarkdown Extra (PHP Extra) variantsOpenDocument (ODT)OPML Office Open XML :Microsoft Word variantOrg-mode pod reStructuredText Rich Text Format (RTF)Textile txt2tags (t2t)Typst (typ)Wiki markup :MediaWiki , Muse,TikiWiki ,TWiki andVimwiki variantsPandoc can create files in the following output formats, the set of which is not the same as the set of input formats:
AsciiDoc Bibliography data formats:BibTeX ,BibLaTeX ,CSL JSON or CSL YAML ConTeXt DocBook : Versions 4 and 5EPUB : Versions 2 and 3[ 11] FictionBook (FB2)Haddock HTML : HTML4 andHTML5 variants, respectively compliant with XHTML 1.0 Transitional and XHTML StrictInDesign ICMLJira wiki markupJournal Article Tag Suite (JATS)JSON Jupyter Notebook LaTeX man (roff )Markdown : Strict,CommonMark , Djot,GitHub Flavored Markdown (GFM),MultiMarkdown (MMD) andMarkdown Extra (PHP Extra) variantsOpenDocument (ODT/ODF) and OpenDocument XMLOPML Office Open XML :Microsoft Word andMicrosoft PowerPoint variantsOrg-mode PDF (needs a third-party add-on likeConTeXt ,pdfroff,wkhtmltopdf,weasyprint orprince)[ 12] Plain text reStructuredText Rich Text Format (RTF)TEI Texinfo Textile Typst (typ) Web-based slideshows : LaTeX Beamer, Slideous, Slidy, DZSlides, reveal.js and S5 variants[ 13] Wiki markup :DokuWiki ,MediaWiki ,Muse ,TikiWiki ,TWiki andVimwiki variants^ "Release 3.8.3" . 1 December 2025. Retrieved3 December 2025 .^ Mullen, Lincoln (23 February 2012)."Pandoc Converts All Your (Text) Documents" .The Chronicle of Higher Education Blogs: ProfHacker . Retrieved27 June 2014 . -McDaniel, W. Caleb (28 September 2012)."Why (and How) I Wrote My Academic Book in Plain Text" .W. Caleb McDaniel at Rice University . Archived fromthe original on 4 July 2019. Retrieved27 June 2014 . -Healy, Kieran (23 January 2014)."Plain Text, Papers, Pandoc" . Retrieved27 June 2014 . -Ovadia, Steven (2014)."Markdown for Librarians and Academics" .Behavioral & Social Sciences Librarian .33 (2):120– 124.doi :10.1080/01639269.2014.904696 .ISSN 0163-9269 .S2CID 62762368 . ^ Till, Kaitlyn; Simas, Shed; Larkai, Velma (14 April 2014)."The Flying Narwhal: Small mag workflow" .Publishing @ SFU . Retrieved11 March 2018 . -Maxwell, John (1 November 2013)."Building Publishing Workflows with Pandoc and Git" .Publishing @ SFU . Retrieved27 June 2014 . [permanent dead link ] -Maxwell, John (26 February 2014)."On Pandoc" . eBound Canada: Digital Production Workshop, Vancouver, BC. Archived fromthe original on 28 February 2015. Retrieved27 June 2014 . -Maxwell, John (1 November 2013)."Building Publishing Workflows with Pandoc and Git" .Publishing @ SFU . Archived fromthe original on 30 June 2022. Retrieved12 April 2019 . -Krewinkel, Albert; Robert Winkler (8 May 2017)."Formatting Open Science: agilely creating multiple document formats for academic manuscripts with Pandoc Scholar" .PeerJ Computer Science .3 : e112.doi :10.7717/peerj-cs.112 . Retrieved25 May 2017 . ^ "John MacFarlane" .Department of Philosophy . University of California, Berkeley. Retrieved25 July 2014 .^ "Pandoc User's Guide" .pandoc.org . Description. Retrieved22 January 2019 ....one should not expect perfect conversions between every format and every other. Pandoc attempts to preserve the structural elements of a document, but not formatting details... ^ Fenner, Martin (12 December 2013)."From Markdown to JATS XML in one Step" .Gobbledygook .doi :10.53731/r294649-6f79289-8cw0k . Archived fromthe original on 26 May 2014. Retrieved27 June 2014 . ^a b "Citations" .Pandoc User's Guide . Retrieved2021-04-08 .^ Tenen, Dennis; Grant Wythoff (19 March 2014)."Sustainable Authorship in Plain Text using Pandoc and Markdown" .The Programming Historian (3).doi :10.46430/phen0041 . Retrieved27 June 2014 . ^ Denlinger, Kyle."Research Guides: Zotero: Citations & Bibliographies" .guides.zsr.wfu.edu . Retrieved2023-06-21 . ^ "Pandoc's Markdown" .Pandoc User's Guide . Retrieved2019-08-01 .^ Mullen, Lincoln (20 March 2012)."Make Your Own E-Books with Pandoc" .The Chronicle of Higher Education Blogs: ProfHacker . Retrieved27 June 2014 . ^ "Getting started with pandoc" .pandoc.org . Creating a PDF. Retrieved22 January 2019 .^ See as an exampleMacFarlane, John (17 May 2014)."Pandoc for Haskell Hackers" . BayHac 2014, Mountain View, CA. Retrieved27 June 2014 . {{cite web }}: CS1 maint: location (link )[permanent dead link ] Thesource file is written in Markdown.
Classes Macro packages LaTeX integration Conversion tools Related