Open data feed
=IMPORTDATA("https://data.city.gov/export.csv") loads a municipal dataset for local analysis.
IMPORTDATA retrieves a text file from a web address and parses it into sheet cells. It works with comma- or tab-separated values published at a stable URL. Government open data, published exports, and simple report endpoints are common sources.
Use IMPORTDATA when a system publishes CSV or TSV at a public link and you want a live grid without manual downloads.
Skip IMPORTDATA for JSON APIs, authenticated feeds, or files that change column order without notice. IMPORTRANGE or a script may be safer.
Confirm the URL returns raw CSV or TSV in the browser, not an HTML wrapper page.
Enter =IMPORTDATA("https://example.com/data.csv") in the destination cell.
Leave space below and to the right for the parsed table to spill.
Add QUERY or ARRAYFORMULA cleanup if the file includes quote characters or blank trailer rows.
Publish your own CSV from another sheet with File > Share > Publish to web when you control the source.
Monitor for #REF! or parse errors when the publisher changes delimiter or encoding.
=IMPORTDATA("https://data.city.gov/export.csv") loads a municipal dataset for local analysis.
=IMPORTDATA(published_csv_url) mirrors a partner tab they expose via Publish to web as CSV.
=IMPORTDATA(log_url) imports tab-separated events when the server serves text/plain TSV.
Build this without starting from a blank cell
Use a Better Sheets tool for IMPORTDATA, then watch a walkthrough when you want the full pattern.
Watch how IMPORTDATA works
Guides that explain IMPORTDATA in more depth.
Nothing is better than Google Sheets. You just need to learn more about the unlimited power of Google Sheets. Functions, Formulas, Apps Script and more.
Read post →Boost productivity and streamline your workflow in Google Sheets with our quick tips and free tools. Breathe new life into your spreadsheets today.
Read post →IMPORTRANGE loads values from a range in another Google spreadsheet into your current file. You pass the spreadsheet URL or key plus a range string with an optional sheet name. After you grant access once, the link stays live and updates when the source changes.
Read guide →IMPORTXML fetches a URL and returns data matching an XPath query. You can scrape page titles, meta tags, table cells, or RSS-style XML fields. It is more precise than IMPORTHTML when you need one value or a repeating node set from structured markup.
Read guide →IMPORTFEED reads an RSS or Atom syndication URL and returns feed items in a table. You can request specific fields like titles, URLs, authors, or dates using query parameters. It is handy for lightweight media monitoring without a dedicated news tool.
Read guide →IMPORTHTML fetches a public web page and returns a table or list from its HTML. You provide the URL, the query type (table or list), and the index of which table or list on the page to import. It is a quick scraper for simple pages without writing Apps Script.
Read guide →Done reading about IMPORTDATA?
Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.
Need this once
Jump to a free tool or a single tutorial for this topic.
Learning Sheets for real
Unlock the full library, generators, and templates with membership.