About 24,700 results
Open links in new tab
  1. File - Web APIs | MDN

    Oct 2, 2024 · The File interface provides information about files and allows JavaScript in a web page to access their content.

  2. File and FileReader - The Modern JavaScript Tutorial

    Apr 9, 2020 · In addition to Blob methods and properties, File objects also have name and lastModified properties, plus the internal ability to read from filesystem. We usually get File objects from user …

  3. JS File - What is a .js file and how do I open it? - FileInfo.com

    Apr 22, 2022 · What is a JS file? A JS file is a plain text file that contains JavaScript code. It is used to execute JavaScript instructions in a webpage. JS files may include functions that open and close …

  4. JavaScript Where To - W3Schools

    External scripts are practical when the same code is used in many different web pages. JavaScript files have the file extension .js. To use an external script, put the name of the script file in the src (source) …

  5. JavaScript File and FileReader - W3docs

    In the current world of web development, managing files efficiently and securely is essential. JavaScript, which is key to client-side scripting, provides strong tools through the File and FileReader interfaces. …

  6. How to read a local text file using JavaScript? - GeeksforGeeks

    Jul 12, 2025 · JavaScript can read local files using the File API, which is supported by most modern browsers. The File API allows JavaScript to read the contents of files chosen by the user, typically …

  7. JavaScript FileReader

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

  8. JavaScript File Handling - CodeToFun

    Oct 2, 2024 · JavaScript file handling enables powerful file manipulation capabilities both in the browser and on the server. By leveraging the File API and FileReader, you can create dynamic, user-friendly …

  9. How to Read and Write Files in JavaScript: Step-by-Step Tutorial with ...

    Dec 12, 2025 · How to Read and Write Files in JavaScript: Step-by-Step Tutorial with Sample Code Examples File handling—reading from and writing to files—is a fundamental skill in programming, …

  10. File JavaScript API

    Interactive API reference for the JavaScript File Object. File is a Blob that represents a file from the filesystem. You can get Files from the HTMLInputElement.files property or the DataTransferItem.