HTML blockquote generator with attribution, cite and figcaption

Paste a quotation, add the author, the title of the work and its URL, and get a blockquote with the source in the cite attribute and a visible attribution, either in a figure with figcaption or in a plain paragraph below.

Live demo · real result from this tool

Press Generate to create a result.

Processed on your device — nothing is uploaded.

How to use the blockquote generator

  1. Paste the text into Quote (blank line between paragraphs).
  2. Enter the Author and the Source title, such as a book, article or speech.
  3. Add the Source URL (cite) if the quotation is online.
  4. Keep Wrap in <figure> with a caption ticked, or untick it for a simple paragraph after the quote.
  5. Copy the code and check the Preview.

What it does and when to use it

Pull quotes, customer quotations, passages from books and citations in articles all deserve proper markup. blockquote tells browsers and screen readers that the text is quoted from somewhere else, and screen readers can announce where the quotation begins and ends. Getting the attribution right is the part people usually get wrong: the name should not sit inside the blockquote, because then it reads as part of the quotation.

This generator puts the quote, the source link and the attribution in their correct places. Use the figure version for anything prominent. The plain version suits simple blog posts where a styled figure is not wanted.

To give an image a caption the same way, use the HTML Figure & Caption Generator. If the quotation contains characters such as curly quotes or dashes that you want as entities, look them up with the HTML Character Entity Finder. For a definition-style list of sayings and their authors, the HTML Definition List Generator may fit better.

How it works

The quote is split at blank lines, and each part becomes a p inside the blockquote. Single line breaks inside a part become <br>, which keeps the lines of a poem or lyric excerpt. The URL goes in cite only when you enter one. The attribution starts with an em dash, then the author, then <cite> with the source title, separated by a comma; any part you leave empty is skipped. With the figure option, the blockquote is indented inside figure and the attribution goes into figcaption. All text is escaped. It runs in your browser.

Worked examples

The default quotation, with author, source title and URL:

<figure>
  <blockquote cite="https://www.cs.utexas.edu/~EWD/transcriptions/EWD04xx/EWD498.html">
    <p>Simplicity is prerequisite for reliability.</p>
  </blockquote>
  <figcaption>— Edsger W. Dijkstra, <cite>How do we tell truths that might hurt?</cite></figcaption>
</figure>

Plain version. Untick the figure option and clear the URL and source title:

<blockquote>
  <p>Simplicity is prerequisite for reliability.</p>
</blockquote>
<p>— Edsger W. Dijkstra</p>

Two paragraphs and a report as the source. A first paragraph, a blank line, then two lines, with no author. The second paragraph becomes <p>Second line one<br>Second line two</p>, and the caption is — <cite>Annual report 2025</cite>.

Limits and tips

  • Quote accurately and keep the source link, especially for material under copyright, where only short quotations are usually acceptable.
  • Styling such as a left border or large quotation marks belongs in CSS; the preview shows a simple green border.

Frequently asked questions

Is the cite attribute shown on the page?
No. Browsers do not display the URL in cite; it is there for software, scripts and search engines that read the source. That is why the tool also writes a visible attribution with the author and the title of the work.
What is the difference between the cite attribute and the cite element?
The cite attribute on blockquote holds a URL. The cite element marks the title of a work, such as a book, article, film or speech, and is shown in italics by default. The tool uses the element for the Source title field. It should not be used for the person's name.
Why put the attribution in a figcaption?
Text inside a blockquote is part of the quotation, so the author's name must stay outside it. A figure with a figcaption keeps the quote and its attribution together as one unit and links them for assistive technology.
Should I use blockquote for short quotes?
Use blockquote for quotations that stand on their own as a block. For a few words inside a sentence, use the q element, which adds quotation marks for you. Do not use blockquote just to indent text; use CSS for that.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close