About 680,000 results
Open links in new tab
  1. FileReader - Web APIs | MDN - MDN Web Docs

    Mar 13, 2025 · The FileReader interface lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to …

  2. How do I open a file stream in javascript? - Stack Overflow

    Jan 18, 2017 · To open a file with JavaScript, use a <input type="file" />. If you want, you can use JavaScript to display the open dialog by calling the click() method on the file input (the DOM …

  3. How To Read and Process Files with the JavaScript FileReader API

    Apr 22, 2021 · Learn how to access uploaded files directly in the browser using JavaScript and the FileReader API.

  4. JavaScript File and FileReader - W3docs

    The FileReader API allows web applications to read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. …

  5. JavaScript FileReader - JavaScript Tutorial

    In this tutorial, you'll learn about the JavaScript FileReader API and how to use it to implement the file upload.

  6. File and FileReader - The Modern JavaScript Tutorial

    Apr 9, 2020 · FileReader objects can read from a file or a blob, in one of three formats: String (readAsText). ArrayBuffer (readAsArrayBuffer). Data url, base-64 encoded (readAsDataURL). …

  7. FileReader JavaScript API

    Interactive API reference for the JavaScript FileReader Object. FileReader is used to read the contents of a Blob or File.

  8. How to stream files to and from the computer in browser JavaScript?

    Dec 1, 2020 · inp.onchange = async (evt) => { const stream = inp.files[ 0 ].stream(); const reader = stream.getReader(); while( true ) { const { done, value } = await reader.read(); if( done ) { …

  9. Read file stream using JavaScript in web browser

    Jan 26, 2017 · Read contents of a file with the Javascript File API with a file URL instead of file input

  10. Streams API - Web APIs | MDN - MDN Web Docs

    Apr 3, 2025 · With the Streams API, you can start processing raw data with JavaScript bit by bit, as soon as it is available, without needing to generate a buffer, string, or blob.

Refresh