dummytxt

Docs

Configuration & output reference

What each configuration option does, the exact HTML shape every element produces, and how that HTML converts to plain text, for the HTML generator specifically. For a narrative walkthrough of when to use each option, see the guide. For the Markdown, JSON, and placeholder image generators, see the tools page.


GeneratorConfig fields

FieldTypeDefaultNotes
paragraphsnumber5Range 1–20. Number of body paragraphs in the output.
headingsHeadingLevel[]['h2', 'h3']Any combination of 'h1'–'h6'. Distributed across paragraphs, not repeated uniformly.
includeULbooleantrueInserts an unordered list block.
includeOLbooleanfalseInserts an ordered list block.
listItemCountnumber4Range 2–10. Applies to both UL and OL.
includeLinksbooleantrueWraps short inline phrases in <a href="#">.
includeStrongbooleantrueWraps short inline phrases in <strong>.
includeEmbooleanfalseWraps short inline phrases in <em>.
includeImagesbooleanfalseInserts a <figure> with <img> and <figcaption>.
imageSize'small' | 'medium' | 'large''medium'small: 400×250, medium: 800×450, large: 1200×675.
includeBlockquotebooleanfalseInserts a <blockquote> with <cite>.
includeTablebooleanfalseInserts a <table> with 3–4 columns and 3–5 rows.
includeDLbooleanfalseInserts a <dl> definition list.
includeCodebooleanfalseInserts a <pre><code> block with a sample snippet.
includeHRbooleanfalseInserts a horizontal rule between paragraphs.

Output shape by element

Every element dummytxt can generate, with the exact markup shape it produces. Word content is randomised on each generation; tag structure is not.

Heading

<h2>Consequat provident esse repellendus</h2>

One of the six standard heading tags. Text is 3–7 words, sentence case, no trailing period.

Unordered list

<ul>
  <li>Aspernatur facere quisquam illum.</li>
  <li>Numquam reiciendis duis quae.</li>
</ul>

Item count matches listItemCount. Each item is a short standalone sentence.

Ordered list

<ol>
  <li>Aspernatur facere quisquam illum.</li>
  <li>Numquam reiciendis duis quae.</li>
</ol>

Same structure as the unordered list, using <ol> instead of <ul>.

Image

<figure>
  <img src="https://picsum.photos/seed/482/800/450" alt="Placeholder image" width="800" height="450" />
  <figcaption>Quisquam itaque autem architecto.</figcaption>
</figure>

width and height are always set explicitly on <img>, matching the configured size, so there is no layout shift while it loads.

Blockquote

<blockquote>
  <p>Quisquam itaque autem architecto molestiae exercitationem.</p>
  <cite>— Doloremque vitae, <em>Consequuntur</em></cite>
</blockquote>

A single-paragraph quote with an attributed <cite>.

Table

<table>
  <thead>
    <tr><th>Feature</th><th>Description</th><th>Status</th></tr>
  </thead>
  <tbody>
    <tr><td>Aspernatur facere</td><td>Quisquam illum magnam</td><td>Numquam reiciendis</td></tr>
  </tbody>
</table>

3–4 columns, 3–5 body rows. Headers cycle through Feature, Description, Status, Value, Category, Notes, Type, Details.

Definition list

<dl>
  <dt>Aspernatur facere</dt>
  <dd>Quisquam illum magnam corrupti rem lorem ipsum dolor sit amet.</dd>
</dl>

Each <dt> is a short term, each <dd> a longer definition sentence.

Code block

<pre><code>function processData(input: string[]): string {
  return input.filter(item => item.length > 3).join(', ');
}</code></pre>

Drawn from a fixed set of realistic TypeScript/CSS snippets, not randomly generated code.

Horizontal rule

<hr />

A self-closing divider inserted between paragraphs.

Inline elements

<p>Sunt exercitationem ullamco <strong>aperiam dicta ea velit</strong> consequat. Officia rem <a href="#">distinctio repellat cum</a> minus.</p>

Bold, italic, and link tags are placed at random 2–4 word phrase boundaries within a paragraph, never wrapping the whole sentence.

Plain text conversion

Switching to Text mode runs the generated HTML through a converter that strips tags and reformats each element for plain readability. This is what each tag becomes:

HTMLBecomes
<h1>–<h6>UPPERCASE on its own line
<blockquote>Each line prefixed with "> "
<figcaption>[Caption: ...]
<img>[Image: width×height]
<ol><li>1. item text
<ul><li>• item text
<dl><dt><dd>term:\n definition
<table>Rows joined as cell | cell | cell
<pre><code>Code content, tags stripped
<hr>--- on its own line
<strong>**text**
<em>_text_
<a>text →

Ready to generate?

From the blog

CMS development, placeholder content strategy & real-layout testing

Notes on why plain lorem ipsum breaks real layouts, testing WordPress themes and headless CMS renderers with realistic content, and building for production.

dummytxt.com/blog