SandCastleIcon.png This article documents something which is not associated with Scratch, the Lifelong Kindergarten Group, or the Massachusetts Institute of Technology.
Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (September 2018)

Wikipedia-logo.svg  For more information, see Comma-separated values on Wikipedia. A Comma Separated Values file is a plaintext file that is used by spreadsheet programs such as Microsoft Office & LibreOffice Calc to share data and often end in a .txt or .csv file extension.

Support for .CSV Files in Scratch

What Scratch does when a well-formed .csv file is imported into a list

Scratch offers limited support for CSV files, in that when a file is imported into a list, if Scratch detects that it is a CSV file, it will ask which column to import. If the field is left blank, it will be imported just like a normal text file.

Reading .CSV files in a Scratch Program

Since a .csv file is just plain text, it is possible to read them into a Scratch program and then use scripts to read and write specific values from them.[1]


Cookies help us deliver our services. By using our services, you agree to our use of cookies.