Hugging Face Space

Image2URL on Hugging Face — try the image to CDN URL converter online

Embed of our official Space at huggingface.co/spaces/image2url/image2url. Upload an image, get a permanent CDN-backed link, and copy ready-made snippets for Markdown, HTML, and BBCode.

Max size

2 MB per image

Formats

JPG · PNG · GIF · WebP

Outputs

URL + Markdown/HTML/BBCode

Prefer a zero-install test? Use the live Space embed below. The upload flows straight to Image2URL and returns a CDN-stable link you can use anywhere.

CYAN

Instant upload

Drag-and-drop or paste images; receive permanent URLs immediately.

EMERALD

Copy-ready snippets

Grab Markdown, HTML, or BBCode without extra formatting.

CYAN

Open and forkable

Fork the Space and point it to your own R2 bucket or API endpoint.

Live Space embed

Open in new tab

Embedded for convenience. For the smoothest experience, open the Space directly on Hugging Face.

How to use

End-to-end in under a minute

Step 1

Add or paste an image

Drop, browse, or paste a screenshot into the Space.

Step 2

Click Convert to URL

The image is uploaded to the Image2URL pipeline.

Step 3

Copy your snippets

Use the CDN URL, Markdown, HTML, or BBCode in docs, blogs, and chats.

Why builders choose Image2URL

Fast, CDN-stable, and copy-friendly

CDN permanence

Links stay stable and are cache-friendly for embeds and docs.

Validation

Guards size and MIME to avoid broken assets and unsafe uploads.

Open source

Code, SDKs, and Space configs are open—fork and self-host anytime.

FAQ

What is this Hugging Face Space?

It is a hosted demo of Image2URL on Hugging Face. Upload an image and instantly get a CDN-backed URL plus Markdown/HTML/BBCode snippets.

Do I need credentials to test?

No. The demo uses the public Image2URL endpoint. For private buckets, point the Space to your own API.

What file types and limits apply?

JPG, PNG, GIF, and WebP up to 2 MB. Larger files should be compressed before upload.

Can I self-host?

Yes. Fork the Space, set a custom API URL, or deploy the server code with your own Cloudflare R2 bucket.

Where is the source code?

All SDKs and the Space configuration are open source at https://github.com/image2url/image2url-sdk.

Get involved

Test the Space, file issues, or send PRs

We welcome feedback on performance, UI, and developer ergonomics. Open an issue or fork the repo.