JavaScript: FileReader

Learn how to write JavaScript that lets your web application read files on the user’s computer (with their permission, of course).

This feature is useful and seen in everyday applications like a dating app or a social media website where users upload their pictures and the website “reads the picture file” to display the picture, before uploading it to the server.

Or job websites where a user uploads a cover letter or resume and the website displays the file contents before uploading it to the server.

Media used in this video:

1) Tina Malia – SITA RAM – Bridge to Vallabha

2) Seneca – Moral Letters – 19: On Worldliness and Retirement

3) Seneca – Moral Letters – 75: On the Diseases of the Soul

4) Rendezvous with Maneka Gandhi Part 1 & 2


Do you want to learn computer programming? I will be starting an online course for beginners that takes you from zero to mastery. Please join my mailing list at to be informed of the details in the coming weeks.


Leave a Reply

Your email address will not be published. Required fields are marked *