FileReader API Playground

Mr. Tono's table: files read with the real FileReader and Blob, as text, a data URL or bytes, stepped in the browser's order. An interactive FileReader API…

Why it matters

Every upload form, photo preview before sending, or CSV import reads a file in the browser. Misreading when the result comes and what shape it has gives puzzling bugs: null though it was read, a picture turned into broken characters, a page made heavy by a huge data URL.

The key idea

The same bytes, three shapes, and all of them arrive later

Common mistakes

Try it in this playground