Subsurface Syntax

Subsurface Syntax

Uploading and Reading Files with Streamlit

Allow Your Streamlit Dashboard Users to Upload Their Own Data

Andy McDonald's avatar
Andy McDonald
Jan 22, 2023
∙ Paid

Allow Your Streamlit Dashboard Users to Upload Their Own Data

Photo by Conny Schneider on Unsplash

Streamlit is an awesome open-source Python library that can be used to create interactive dashboards and applications. This can help simplify the data science workflow. If you are just starting out with Streamlit, at some point you are going to want to allow users to upload their own data. This is easily achieved with the file_uploader function.

Within this short article we are going to cover the essentials of the file_uploader function from Streamlit. We will go through the basics of using it to upload single files, multiple files and how to read the uploaded files.

This article forms part of a series of articles I have created on Streamlit. You can explore the other articles at the links below.

  • Getting Started With Streamlit Web Based Applications

  • Creating True Multi-Page Streamlit Apps — The New Way (2022)

  • Getting Started With Streamlit: 5 Functions You Need to Know When Starting Out

  • The Stre…

Keep reading with a 7-day free trial

Subscribe to Subsurface Syntax to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2026 Andy McDonald · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture