# Spreadsheet Lab

> Browser spreadsheet with 37 Excel formulas, a visual formula builder, multi-sheet workbooks, XLSX import/export, formatting and freeze panes. No signup.

- Open the tool: https://overtooled.com/spreadsheet-lab
- Category: Labs
- Privacy: Runs entirely in your browser. Nothing is uploaded, no account is needed, and it works offline once loaded.
- Price: free, no sign-up
- Keywords: spreadsheet, excel, csv, xlsx, formulas, cells, table, data, vlookup, sum, lab

## In short

Full-featured spreadsheet with 37 formulas, visual formula builder, multi-sheet tabs, and XLSX import/export.

## Overview

Spreadsheet Lab is a multi-sheet spreadsheet that runs entirely in your browser. It has its own formula engine with 37 functions, references to other sheets, and a visual formula editor. You can import XLSX, XLS, ODS, CSV, TSV or JSON files, or paste text, and export to XLSX, CSV or PDF. Nothing is sent to a server, and by default nothing is kept after you leave: turn on "Save my work in this browser" to keep the workbook on this device between visits.

## Features

- 37 functions in a custom engine: SUM, AVERAGE (AVG), MEDIAN, MIN, MAX, COUNT, COUNTIF, SUMIF, SUMPRODUCT, ABS, ROUND, MOD, INT, SQRT, POWER (POW), CONCAT, UPPER, LOWER, TRIM, LEN, LEFT, RIGHT, MID, SUBSTITUTE, TEXT, IF, TODAY, NOW, DATE, YEAR, MONTH, DAY, VLOOKUP, HLOOKUP, INDEX, MATCH, HYPERLINK
- Arithmetic with + - * / %, parentheses, unary minus and scientific notation, evaluated by a safe parser that does not use eval or Function
- References to other sheets such as Sheet2!A1 and Sheet2!A1:B5, plus ranges like A1:B10, and absolute or mixed references ($A$1, $A1, A$1) that keep the $ part fixed when a formula is filled or sorted
- Error values #ERR, #REF, #N/A and #CIRC (circular reference detection)
- Only the cells affected by an edit are recalculated, using a dependency graph
- Visual fx Editor: pick a function, choose a range, column, row or list of cells, chain parts with + - * /, nest IF, or type freehand in RAW mode
- Function-name autocomplete while typing a formula; clicking or dragging over cells while editing inserts their references
- Multiple sheet tabs: add, delete, rename (double-click a tab; names must be unique), each with its own grid size
- Formatting: bold, alignment, number formats (Currency, Percent, Decimal, Date), 16 background colors, 13 text colors, auto-contrast text
- Drag-to-fill continues numeric series and month names and shifts formula references; Ctrl+D fills down
- Right-click (or long-press) menu: insert or delete rows and columns, sort by a column A-Z or Z-A, freeze rows or columns
- Sort reorders only the data rows of the table around the cell (or of a selected block): frozen rows and a header row ("My data has a header row", pre-ticked when the first row looks like labels) stay put, and a moved formula keeps pointing at its own row (=B5*C5 moved to row 2 reads =B2*C2) while $ rows, other rows and other sheets stay as written. One Undo restores the sheet exactly
- On touch screens: tap a cell to select it, tap it again (or double-tap) to edit with the keyboard; long-press opens the menu; the Select switch makes a drag select cells instead of scrolling
- Find and replace (case-insensitive), Replace and Replace All
- Undo/redo of 50 steps, column and row resizing, auto-fit, wrap or truncate text, full-screen mode, and Count/Sum/Avg/Min/Max for a multi-cell selection
- Optional "Save my work in this browser" switch (off by default): keeps the workbook on this device so it is restored after a reload, with a Start fresh option

## How to use it

1. Click a cell and start typing (or double-click it; on a phone, tap the selected cell); press Enter to confirm. Start with = for a formula, e.g. =SUM(A1:A10)
2. While typing a formula, click or drag over cells to insert references, or press Tab to accept an autocomplete suggestion
3. Use fx Editor to build a formula visually, or Example to load tutorial sheets (it replaces your sheets after a confirm; Undo brings them back)
4. Right-click a cell to insert or delete rows and columns, sort, freeze panes or fill down; drag the corner square to auto-fill
5. Use Import (From File or Paste Text) to load data, and Export to save XLSX (all sheets), CSV or PDF (active sheet)

## Inputs

- File import: .xlsx, .xls, .csv, .tsv and .ods (parsed by SheetJS, every sheet in the workbook) and .json, up to 10 MB
- When importing XLSX, formulas are kept only if they use the supported functions; other formulas become their saved values
- JSON must be an array of objects or a single object; nested values are stringified
- Paste Text import detects JSON, tab-separated or CSV text
- Any import replaces all existing sheets (it can be undone); a file that cannot be read shows an error and changes nothing
- Cells keep their original addresses when an imported sheet's data does not start at A1
- Ctrl+V pastes tab-separated text from the clipboard at the active cell

## Outputs

- XLSX: the whole workbook, one tab per sheet, with supported formulas written as Excel formulas; tab names Excel rejects (over 31 characters, : \ / ? * [ ], or duplicates) are adjusted in the file
- CSV: the active sheet as computed values; values starting with = + - @ get a leading apostrophe to block formula injection
- PDF: the active sheet as an A4 table (landscape when there are more than 6 columns), keeping bold and colors
- Ctrl+C / Ctrl+X copy the selection as tab-separated text

## Limits and notes

- New sheets start at 100 rows x 26 columns; grids go up to 10,000 rows and 702 columns (A-ZZ)
- IF needs a comparison operator; there is no AND or OR function
- HYPERLINK shows its label as plain text
- The undo history is kept in memory only and is lost on reload
- Paste and copy use the Clipboard API, so the browser may ask for permission
- By default the workbook lives in memory only and is lost on reload; export to XLSX to keep it
- With "Save my work in this browser" turned on (the toolbar drive button), the workbook is kept in the browser's IndexedDB on this device only (database overtooled-lab-sessions): every sheet with its cells, formats, column widths, row heights, size and frozen rows/columns. Undo history is not kept. Turning it off deletes the saved copy; the on/off choice is stored in localStorage as overtooled:spreadsheet-lab:save-session
- Workbooks saved by older versions (always-on localStorage autosave, overtooled:spreadsheet:sheets) turn the switch on and are moved into IndexedDB on the next visit
- Display settings (auto-contrast text, fx tag, wrap/truncate) are preferences, still saved in localStorage under overtooled:spreadsheet:
- No network requests: the XLSX and PDF libraries are loaded from the site itself on first import or export

## Keyboard shortcuts

- Enter: edit / confirm and move down
- F2: edit active cell
- Esc: cancel edit, close find bar, fx Editor or the Paste Text box, exit full screen
- Grid shortcuts are ignored while typing in another field (Paste Text box, tab rename, Rows/Cols)
- Tab / Shift+Tab: move right / left (accepts autocomplete when shown)
- Arrow keys: move; Shift+Arrow: extend selection
- Delete / Backspace: clear selection
- Ctrl+Z: undo; Ctrl+Y or Ctrl+Shift+Z: redo
- Ctrl+C / Ctrl+X / Ctrl+V: copy / cut / paste
- Ctrl+A: select all; Ctrl+F: find and replace; Ctrl+B: bold; Ctrl+D: fill down
- Cmd works in place of Ctrl on a Mac

## Questions and answers

### How does Spreadsheet Lab work?

Each sheet is stored as a map of cell keys to raw text. A formula is evaluated by repeatedly replacing its innermost function call (one of 37 supported functions) with its result, then replacing cell references, including Sheet2!A1 references to other sheets, with their values. The remaining arithmetic goes through a small recursive-descent evaluator that never uses eval. A visited set detects circular references (#CIRC). After an edit, a dependency graph recalculates only the formulas that depend on the changed cells. The grid renders only the visible rows and columns, and the XLSX and PDF libraries load on demand the first time you import or export. Nothing leaves your browser. By default your workbook is not kept after you leave; turn on "Save my work in this browser" to keep it on this device between visits.

### What formulas and functions does this spreadsheet support?

It includes 37 Excel-compatible functions across six categories. Math and statistics: SUM, AVERAGE, MEDIAN, MIN, MAX, COUNT, COUNTIF, SUMIF, SUMPRODUCT, ABS, ROUND, MOD, INT, SQRT, and POWER. Text: CONCAT, UPPER, LOWER, TRIM, LEN, LEFT, RIGHT, MID, SUBSTITUTE, and TEXT. Logic: IF with six comparison operators. Dates: TODAY, NOW, DATE, YEAR, MONTH, and DAY. Lookups: VLOOKUP, HLOOKUP, INDEX, and MATCH. Links: HYPERLINK. You can also write arithmetic expressions, use cell references like A1:B10, and reference other sheets with Sheet2!A1 syntax.

### Can I open and save Excel files?

Yes. You can import XLSX, XLS, ODS, CSV, TSV and JSON files up to 10 MB, including workbooks with multiple sheets. Importing replaces your current sheets, and you can undo it. Formulas that use the supported functions are kept; other formulas come in as their saved values. You can export the whole workbook as XLSX (formulas included) or the active sheet as CSV or PDF.

### Is this a free alternative to Google Sheets that works without an account?

Yes. There is no sign-up, no login, and no cloud storage. The spreadsheet loads instantly in your browser and your data never leaves your device; if you want your workbook kept between visits, turn on "Save my work in this browser". It supports multi-sheet workbooks, cell formatting, formulas, and import/export -- the core features most people need from a spreadsheet.

### Is my data private and secure?

Yes. Your spreadsheet data never leaves your browser and is never uploaded to any server. By default nothing is kept after you leave; you can turn on "Save my work in this browser" to keep the workbook on this device only, and turning it off deletes that copy. Use the XLSX export to save important work.

### What editing features does it have beyond formulas?

Cell formatting with bold text, 16 background colors, 13 text colors, and left/center/right alignment. Number formats including currency, percent, decimal, and date display. Text wrapping with auto-adjusting row heights. Freeze rows and columns so headers stay visible while scrolling. Find and replace across formulas and values. Undo and redo with 50 levels of history. Drag-to-fill that auto-extends number sequences and month names. Right-click context menu for inserting, deleting, and sorting rows and columns.

### How large can the spreadsheet be?

The default grid is 100 rows by 26 columns (A through Z), but you can expand it up to 10,000 rows and 702 columns (A through ZZ). Virtual scrolling keeps the interface fast even with large grids. The spreadsheet also supports multiple sheet tabs, so you can organize data across separate sheets within the same workbook.

## Related tools

- [JSON / CSV Converter](https://overtooled.com/json-csv.md): Convert JSON to CSV and CSV to JSON in either direction
- [Audio Lab](https://overtooled.com/audio-lab.md): Mix, edit and export multi-track audio with waveforms, effects, undo and WAV/MP3/Opus export
- [Batch Pipelines](https://overtooled.com/process-lab.md): Run a pipeline of tools on many files or text items at once: convert, resize, compress, and transform in bulk
- [Image Lab](https://overtooled.com/image-lab.md): Non-destructive image editor with crop, resize, adjustments, effects, and export

---
Overtooled: 179 free tools that run in your browser. Index of all tools: https://overtooled.com/llms.txt
