Not TestedTesting not done, may not work properly
Files & File System

File Reader

Asynchronously read contents of local files as Data URLs, Text, or ArrayBuffer.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

const reader = new FileReader();
reader.onload = (e) => console.log(e.target.result);
reader.readAsText(file);

About the File Reader Web API

FileReader object lets web applications asynchronously read the contents of files stored on the computer.

Specification:W3C & WHATWG Web API Standard
Sponsored Content