Images Videos Audio Pricing Docs View as Markdown (Agent) Get started
Human Agent

Base64 image to URL

Paste a data:image/...;base64,... URI or raw base64 string from OpenAI, Gemini, Canvas, or an API response — decode it in your browser and get a hosted CDN link.

Drag & drop an image here

or

or paste a screenshot (Ctrl/⌘+V)

PNG, JPEG, GIF, WebP, AVIF, SVG · up to 2 MB

Turn API base64 output into a real HTTPS image URL

Image-generation APIs (OpenAI b64_json, Gemini, Stable Diffusion), HTML5 Canvas toDataURL(), and browser automation scripts often return a giant base64 string instead of a link. Pasting that string into an email, webhook, CMS, or Slack message usually fails or hits payload caps.

This tool decodes your base64 string locally in your browser into its real binary image (PNG, JPEG, WebP, GIF, AVIF, or SVG) and uploads it straight to PixelVault's CDN so you get a clean, cacheable URL, Markdown snippet, and HTML <img> tag.

Doing this in code or an AI workflow?

See our step-by-step guide to converting a Base64 image to a hosted URL via API (Node.js, Python, cURL, and n8n). Every free account starts with 200 MB storage and 500 uploads/month; Starter gives 25 GB storage and 100 GB bandwidth for $9/mo or a $10 pay-once pass (no subscription).

Related tools: Screenshot to URL · Image to URL · Audio to URL · PDF to URL.

Base64 to URL — FAQ

How do I convert a Base64 image into a URL?

Paste your data:image/...;base64,... URI (or raw base64 string) into the box above and click Decode & host. Your browser decodes the bytes into an image file and uploads it to PixelVault, returning a direct CDN URL.

What Base64 image formats are supported?

PNG, JPEG, WebP, GIF, AVIF, and SVG up to 2 MB on this free tool. If you paste raw base64 without a data:image/ prefix, the tool inspects the magic header to detect PNG, JPEG, GIF, WebP, or SVG automatically.

Why convert Base64 to a hosted URL instead of embedding data URIs?

Gmail and Outlook strip data:image URIs, HTML payloads bloat by ~33%, browsers cannot cache inline base64 across pages, and webhooks or social APIs require a real HTTPS URL.

Can I automate Base64-to-URL uploads in code or n8n?

Yes. Use POST /v1/images/batch (which accepts base64 directly) or decode to a multipart upload to POST /v1/images. Read our full Base64-to-URL API guide for Node.js, Python, and cURL examples.