Skip to content
UniKit

Image URLs to HTML

Turn a list of image URLs into plain `<img>` HTML: one URL per line, an optional wrapper element, invalid lines listed separately, exported as HTML or plain text.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Images are processed locally in your browser with Canvas and never uploaded.

Pick an image first (PNG / JPEG / WebP / GIF all work).

Result

No result yet

Result details

These are the real numbers from this run — copy them straight out.

Pick an image and set the options; sizes, pixel count and export size show up here.

What this tool does

  • Turn a pile of direct image links into `<img>` snippets you can paste into a static page or an email template.
  • Migrate an old page: generate the new tags first, then replace the old markup section by section.
  • With "Add a comment per line" the generated HTML carries a mapping comment, so you can tell which line produced which tag.

Example

Input

Two URLs — https://example.com/a.png and https://example.com/b.jpg — without comments

Output

Two `<img>` tags separated by <br /> with no wrapper div

Straight from urlListToHtml with gallery: false: invalid lines go to the invalid array, and URLs containing quotes are rejected to prevent injection.

Frequently asked questions

Why are links containing quotes rejected?

A URL containing a quote can close the src attribute early and inject arbitrary markup (such as <script>). Only http(s) URLs without spaces, quotes or angle brackets are accepted, which blocks that class of injection outright.

How is this different from the image list tool?

That one produces a gallery block with a grid and captions; this one produces a plain `<img>` sequence that fits into markup you already have.

Does it de-duplicate?

No. Duplicates are kept so the output lines up with your input; use a dedicated de-duplication tool first if you need that.

Do you upload my links?

No. The tool only processes text and never requests those URLs.

Keywords:html imgimage url to htmlimg tag generatorurl to imghtml img listimage link html

Related tools