Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The Metadata interface contains information about a file system entry. This metadata includes the file's size and modification date and time.
Note: This interface isn't available through the global scope; instead, you obtain a Metadata object describing a FileSystemEntry using the method FileSystemEntry.getMetadata().
modificationTime Read only Experimental Non-standard
A Date object indicating the date and time the entry was modified.
size Read only Experimental Non-standard
A 64-bit unsigned integer indicating the size of the entry in bytes.
This feature has been removed from all specification and is not in the process of being standardized.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
Metadata |
13 | 79 | No | 15 | No | 18 | No | 14 | No | 1.0 | No | No |
modificationTime |
13 | 79 | No | 15 | No | 18 | No | 14 | No | 1.0 | No | No |
size |
13 | 79 | No | 15 | No | 18 | No | 14 | No | 1.0 | No | No |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Metadata