here document

noun

A block of text included in the source code of a computer program in such a way that it is treated as a single string literal with line breaks etc. as written.

Meanings

nounhere document (plural here documents)

plural here documents

  1. computingA block of text included in the source code of a computer program in such a way that it is treated as a single string literal with line breaks etc. as written.

    Synonyms: heredoc, here-text

Synonyms & antonyms

nounA block of text included in the source code of a computer program in such a way that it is treated as a single string literal with line breaks etc. as written.

Cite this entry
APA

here document. (n.d.). In WatkinsX Dictionary. Retrieved November 2, 2026, from https://dictionary.watkinsx.com/word/here%20document

MLA

“here document.” WatkinsX Dictionary, https://dictionary.watkinsx.com/word/here%20document. Accessed November 2, 2026.

Chicago

WatkinsX Dictionary, s.v. “here document,” accessed November 2, 2026, https://dictionary.watkinsx.com/word/here%20document.

Source: here document on Wiktionary, CC BY-SA 4.0.