Generate a semantic figure element wrapping an image with a figcaption, ideal for accessible captioned images and diagrams. HTML Figure & Caption Generator is a free online tool from the ToolsRift HTML Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Use <figure> when an image, chart or code block has a caption or is referenced from the main text. It groups the visual with its <figcaption> as a single self-contained unit.
alt is a short text alternative read when the image can't be seen, while figcaption is a visible caption for everyone. They serve different audiences, so provide both.
Yes. <figure> can wrap illustrations, diagrams, code listings, quotes or videos. This generator focuses on the common image-with-caption pattern.