Direct image URL

Convert an image to a URL you can share

Upload or paste an image, then copy a direct URL for docs, blogs, GitHub or chat. The free hosting flow may compress the file to AVIF.

Use the direct URL as an image source, or copy a ready-made Markdown embed for your README.

Step 1

Choose an image for your document

Upload a diagram, illustration or screenshot in the browser uploader.

Step 2

Copy the generated image URL

Wait for processing, then copy the direct URL that points to the hosted image file. Open it to check the result.

Step 3

Embed it in Markdown

Place the URL inside ![alt text](url), or copy the uploader’s Markdown output. Preview your README or article before publishing.

Direct image URLs for publishing

  • Illustrate a GitHub README with a setup diagram.
  • Add visual examples to technical documentation.
  • Embed illustrations in a Markdown blog post.
  • Fill a CMS image-source field with a direct URL.

Supported input formats

  • PNG
  • JPG
  • JPEG
  • GIF
  • WebP
  • AVIF

Choose a supported image file, then check the generated URL and format before using it as an image source.

From an image file to a Markdown embed

Input file and hosted output

PNG, JPG and other supported images may be compressed to AVIF in the free flow. Copy the resulting URL rather than changing its extension.

A URL that points to the image

The direct URL references the hosted file. It is publicly accessible to anyone with the link, including outside your document.

Markdown image syntax

Put descriptive alt text in the square brackets and the image URL in parentheses. BBCode is also available for forums that require it.

Example: embed an image in a README

Illustrative addresses only: replace the URL below with your upload result and write alt text that describes your image.

https://images.example.com/diagram.avif![Screenshot](https://images.example.com/diagram.avif)

Questions and answers

What is a direct image URL?

A direct image URL points to the image file itself: open it on its own and you see only the image, without a hosting page. Use it in <img src="url">, Markdown ![alt](url), or forum BBCode.

Why does my PNG image URL end in .avif?

The free uploader tries AVIF compression. Successful conversion can change the extension; otherwise the input format may be retained.

Can I generate a direct image URL online for free?

The free flow allows up to 5 MB per file; Pro supports 32 MB. Anonymous use starts with 30 images; after sign-in, account quotas apply. Check the uploader for your current allowance.

Do I need a desktop app to generate a direct URL?

No. Upload or paste an image in the browser uploader, then copy its direct URL. No desktop app is needed.

Why does my link not display as an image?

Album, preview, Google Drive and Google Photos links usually open a web page, so they generally cannot be used as an image source. Open the link in a browser: if a page surrounds the image, it is not a direct image URL. blob:, data: and local file paths are not shareable hosted direct links.

How do I get an image URL?

Upload, drag or paste an image, wait for the upload to finish, then copy URL, Markdown, BBCode or HTML. Links are public: anyone with the URL can view the image, so do not upload confidential images. Images are kept permanently; you can delete them, which breaks existing links.

How do I use an image as a link?

For an image address, upload here and copy URL, Markdown, BBCode or HTML; see the direct image URL answer above. To make an image clickable, use HTML: <a href="destination"><img src="direct-image-url" alt="..."></a>. src must be the direct image URL; href is the page opened on click. Copied HTML only embeds the image; add the a wrapper shown above and set href yourself to link to another page.