Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Note: This feature is available in Web Workers, except for Service Workers.
The XMLHttpRequestUpload interface represents the upload process for a specific XMLHttpRequest. It is an opaque object that represents the underlying, browser-dependent, upload process. It is an XMLHttpRequestEventTarget and can be obtained by calling XMLHttpRequest.upload.
EventTarget XMLHttpRequestEventTarget XMLHttpRequestUploadThis interface has no specific property, but inherits the properties of XMLHttpRequestEventTarget and of EventTarget.
This interface has no specific method, but inherits the methods of XMLHttpRequestEventTarget and of EventTarget.
This interface has no specific event, but inherits the events of XMLHttpRequestEventTarget.
This allows you to upload a file to a server; it displays a progress bar while the upload is happening as well as a message with the progress and the results, success or failure. An abort button allows to stop an upload.
| XMLHttpRequest # xmlhttprequestupload |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Sep 11, 2025 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.