Sample Excel Files Online
Sample rows from Excel files — first N, last N, or random — directly in your browser.
About this tool
Extract a sample from a Excel file — first N rows, last N rows, or a random subset. Ideal for quick exploration or testing pipelines before running on the full dataset. All processing happens locally in your browser.
Frequently Asked Questions
What sampling methods are available for Excel files?
First N rows, last N rows, or a random sample of N rows. First and last are deterministic. Random sampling uses a reservoir algorithm for an unbiased selection.
Is random sampling of a Excel file reproducible?
No — each run produces a different random sample. For a reproducible result, use the SQL Query tool and write SELECT * FROM table USING SAMPLE reservoir(N ROWS) REPEATABLE(seed) with a fixed seed number.
Does sampling a large Excel file read the whole file?
First N and last N rows are very fast — the tool stops reading early. Random sampling scans the full file to ensure an unbiased selection.
Is my data private?
Yes — completely. Your file is never uploaded to any server. Everything runs locally in your browser using WebAssembly — processing happens entirely inside your tab. Once you close the tab, nothing is retained.
What is the maximum file size?
The free limit is 50 MB. For larger files, performance depends on your device's available memory — most modern machines handle 500 MB to 1 GB comfortably.
Related Tools
Search Text in Excel Files Online
Search for text across all string columns in Excel files directly in your browser. Filter rows to only those containing your search term and download the results — no upload required.
Get Top N Rows from Excel Files Online
Extract the top N rows per group from Excel files directly in your browser. Get the top 5 products per category, highest scores per team, or any ranked subset — no upload required.
Add Percent of Total to Excel Files Online
Add a percentage-of-total column to Excel files directly in your browser. Show each row's share of the grand total, or the share within each group — no upload required.
Parse URL Column in Excel Files Online
Parse URL columns in Excel files and extract host, path, query string, and fragment into separate columns — directly in your browser, no upload required.
Add Lag / Lead Column to Excel Files Online
Add a LAG or LEAD column to Excel files to shift any column forward or backward by N rows. See previous day's sales, next value in a sequence, or any time-shifted comparison — runs entirely in your browser.