Blob URLs (object URLs)
Makes a temporary URL for in-memory data or a File, usable in links, images and downloads.
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
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 19 | 2012-05-15 | None |
| Edge | Supported | 12 | 2015-07-29 | None |
| Firefox | Supported | 19 | 2013-02-19 | None |
| Safari | Supported | 6 | 2012-07-25 | None |
| Safari on iPhone | Supported | 6 | 2012-09-10 | All iOS browsers use WebKit |
| Chrome on Android | Supported | 25 | 2013-02-27 | None |
| Samsung Internet | Supported | 1.5 | 2013-09-25 | None |
How a site asks for it
| API | URL.createObjectURL(blob); URL.revokeObjectURL(url); blob:https://origin/uuid |
| Browser compat keys | api.URL.createObjectURL_staticapi.Blob |
| How access is granted | none |
| What the user sees | None (no browser prompt) |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| Activation | none |
| How long it lasts | Until the document unloads or revokeObjectURL() is called |
| How to take it back | Nothing to revoke (no permission is stored) |
| Inside an iframe | Same origin only; partitioned by top level site in modern browsers |
Typical flow
- Create a Blob or take a File
- Call URL.createObjectURL
- 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
| Type | Example | Apps |
|---|---|---|
| social | You choose a photo for a profile and see it right away, before it uploads. | None named |
| creative | A web editor lets you download your edited image or video straight from memory. | Canva, Photopea |
| games | A browser game saves and shares a replay or screenshot as a downloaded file. | None named |
| video | A web video tool plays a clip you recorded without sending it to a server. | None named |
| productivity | A document site makes a PDF in your browser and offers it as a download. | None named |
| security | A phishing page builds a fake document in memory and shows it from a blob address so filters do not see it. | None named |
| messaging | A 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
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 1 of 5 | How revealing the data is |
| Utility | 5 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough 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)
Related capabilities
Related
- Trigger file downloads. Can save a file to your device, but repeated automatic downloads ask first
Sources
How well checked: Based on official documentation.