swiftimg

How to host and embed an image anywhere

Every platform handles images differently — different size caps, different hotlinking rules, different preview behaviour. These are tailored, copy-paste guides for the 25 destinations people actually paste images into.

The short version

Upload once and you get a permanent URL. Paste that URL wherever you need it — a README, a chat message, a CMS post, a newsletter. It keeps working after the original message is deleted, the repository is renamed, or the post is archived, because the image no longer lives inside any of those things. Pick your destination below for the exact snippet and the platform-specific gotchas.

AI agents

Give an agent a tool that turns a generated image into a permanent, hot-linkable URL.

Code, docs & READMEs

Images that still load years later, in the places developers actually read.

Chat & communities

Links that unfurl as previews and don't expire when the original message ages out.

Social platforms

Correctly sized, correctly previewed, from one uploaded original.

Frameworks & static sites

Drop-in image URLs with on-the-fly resizing, no build-time processing step.

Publishing & newsletters

Hosted images for CMS posts and email, where inline attachments get stripped.

Frequently asked

Do I need an account to embed an image?

No. Anonymous uploads work in the browser and produce a permanent URL, subject to a cap. A free account raises that cap, keeps every upload in one library, and can create an API key for the REST API, the CLI and the MCP server — 100 uploads a month. On-the-fly transforms, signed URLs, a custom domain and far higher volume are the Developer plan, from $9/mo.

Will the URL still work in a year?

Yes — that is the point of these guides. Links do not expire and are not tied to the message, post, or repository you pasted them into.

Can I resize an image without re-uploading it?

Yes. Ask for a different width or format directly from the URL, and the original stays untouched.

Which guide should I start with?

Pick the destination you are pasting into. The steps differ per platform because the size caps, hotlinking rules, and preview behaviour differ per platform.

Try it free — no account needed

Upload and share in seconds, then upgrade for the API, transforms, and a custom domain.