Skip to Content
Platform.Ontology

Blob URLs (object URLs)

Makes a temporary URL for in-memory data or a File, usable in links, images and downloads.

Works without askingFiles and storageFilesWeb browsersWhile you use it

In one line

Can make temporary links to data held in memory, which work only on its own site

Makes a temporary URL for in-memory data or a File, usable in links, images and downloads.

A site can hand files to itself without a server round trip. The URL works only in that browser and origin and dies when the page unloads or is revoked.

What it can and can't do

What the user does: You pick an image to preview, or tap Download for a file the page built.

It can

  • Turn a file or data into a temporary link for images, video or downloads
  • Preview an image you chose before upload
  • Hand you a file it built, for you to download

It cannot

  • Open files you did not pick or that it did not build
  • Use the link from another site, since it only works on the site that made it
  • Keep the link after you close the tab

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported192012-05-15None
EdgeSupported122015-07-29None
FirefoxSupported192013-02-19None
SafariSupported62012-07-25None
Safari on iPhoneSupported62012-09-10All iOS browsers use WebKit
Chrome on AndroidSupported252013-02-27None
Samsung InternetSupported1.52013-09-25None

How a site asks for it

APIURL.createObjectURL(blob); URL.revokeObjectURL(url); blob:https://origin/uuid
Browser compat keysapi.URL.createObjectURL_static
api.Blob
How access is grantednone
What the user seesNone (no browser prompt)
Needs a secure context (HTTPS)No
Needs a user gestureNo
Activationnone
How long it lastsUntil the document unloads or revokeObjectURL() is called
How to take it backNothing to revoke (no permission is stored)
Inside an iframeSame origin only; partitioned by top level site in modern browsers

Typical flow

  1. Create a Blob or take a File
  2. Call URL.createObjectURL
  3. Use the blob: URL in img, a download or fetch

Data you get

Shape: none

No individual data fields. The signal is the access itself.

Technical limits

  • Only usable by the origin that created it (fetching from another origin fails)
  • Top frame navigation to blob: and data: URLs from other origins is blocked (Chrome 60, Firefox 59 for data:)
  • Not a persistent store: gone after reload or unload; unrevoked URLs keep the Blob in memory
  • Chrome stores big blobs on disk; practical single blob sizes of a few gigabytes
  • Blob URL storage partitioning by top level site is rolling out across browsers (Firefox and Safari first, Chrome later)

The story

What it is

Makes a temporary web address for data held in memory or a file you chose.

For you

You see a photo preview appear the moment you pick it, or a download start for a file the page just made. The page never sent it anywhere first.

For makers

It lets a site show or save data without uploading it. That makes previews instant and tools faster. It can also hide files from simple scanners, so security teams watch for it.

Where you see it

TypeExampleApps
socialYou choose a photo for a profile and see it right away, before it uploads.None named
creativeA web editor lets you download your edited image or video straight from memory.Canva, Photopea
gamesA browser game saves and shares a replay or screenshot as a downloaded file.None named
videoA web video tool plays a clip you recorded without sending it to a server.None named
productivityA document site makes a PDF in your browser and offers it as a download.None named
securityA phishing page builds a fake document in memory and shows it from a blob address so filters do not see it.None named
messagingA chat site previews an attachment the second you pick it.Slack

Risks

  • Hides content from filters
  • Phishing use

What the platform says

  • MDN: URL.createObjectURL. Documents how a page can turn a file or data into a short lived address for images, videos and downloads.

Good uses and abuse

Legitimate uses

  • Client side downloads
  • Image previews
  • Workers from blobs

Known abuse

  • Phishing pages built from blob URLs that hide the real host
  • Hiding payloads from network filters

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility5 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2017-07, Chrome 60: Block top frame navigation to blob and data URLs from other origins
  • 2025, Chrome 137: Blob URL partitioning by top level site (rollout date approximate)

Sources

How well checked: Based on official documentation.

On this page