Sheet Bridge Local
A local VS Code extension for moving CSV, XLSX, XLSM, XLSB and XLS data into Google Sheets through clipboard batches. No Google API, authentication integration or file upload. You paste into a sheet where your browser already has edit access. A public viewing or publish-to-web link does not grant editing access.
Install
In the VS Code Extensions view, search for Sheet Bridge Local by SridharanSelvaraj and click Install.
For a downloaded VSIX package:
- In VS Code, open Extensions.
- Open the … menu and choose Install from VSIX….
- Select
sheet-bridge-local-0.1.0.vsix. Reload if requested.
- Open the Command Palette (
Ctrl+Shift+P, or Cmd+Shift+P on Mac).
- Run Sheet Bridge: Open Local Spreadsheet.
The VSIX bundles its runtime dependency and works without fetching packages after installation. This extension targets desktop VS Code 1.90 or newer. A browser-only vscode.dev session is not supported. Run it in a local window; in Remote/SSH windows, files and progress belong to that extension host.
Transfer
- Choose a local file, worksheet and columns. Leave columns blank for all columns, or enter
A,C:E. Column letters refer to source columns; the output packs them together in that order.
- Choose the first source row, batch size and first destination cell. Headers are copied once if included in the selected rows. A starting point of 1,000 rows is adjustable from 1 to 10,000; batches shrink automatically to stay under 1 MB of UTF-8 text.
- Optionally provide a normal Google Sheet editing URL. Open the intended tab in your browser. Add enough rows and columns for the transfer and check the destination for existing data before overwriting it.
- Select the entire target range and choose Format → Number → Plain text. Confirm the checkbox in Sheet Bridge. This values-only mode intentionally keeps dates and numbers as displayed text; you can convert selected columns in Sheets afterward.
- Click Prepare transfer. Check the preview and warnings.
- Click Copy next batch. In Google Sheets, enter the first cell of the displayed destination range in the name box beside the formula bar. Paste with
Ctrl+V or Cmd+V.
- Verify the first paste, especially multiline fields, quotes, dates, leading zeros and long IDs. Check that rows and columns line up. Then click Mark pasted.
- Repeat. Copying again repeats the same batch; only Mark pasted advances progress.
Entirely blank batches: Click Prepare blank batch, select the displayed destination range in Sheets, and press Delete to clear its contents. No clipboard content is written for these batches. Then click Mark cleared. Mixed batches contain quoted tab-separated values; use an empty target range where possible and verify blank cells in the first paste.
Resume: Run Sheet Bridge: Resume Last Transfer. Only the last transfer is saved. Its path, file fingerprint, settings and confirmed row offset are stored locally by VS Code. Cell values are not stored in progress. The source file must remain unchanged. If you pasted but did not mark the batch before closing, resume repeats that batch at the same destination; verify it before marking. Keep the same destination sheet/tab; the tool cannot inspect or verify what is in Google Sheets.
Adjust settings: Reset the transfer to unlock controls. This deletes saved progress, not cells already pasted. Note the first untransferred source row and corresponding destination cell before resetting if you want to continue from there.
Limits and behavior
- Up to 100 MB per source file and 20 million cells in a source worksheet's rectangular range, including blank gaps. Workbooks are parsed in memory in a worker with a 1.5 GB heap allowance; complex or very large workbooks may exceed available memory before reaching these limits. This is a bounded local importer, not a disk-streaming engine.
- Google Sheets' spreadsheet limits, existing grid allocation, browser performance and organization policies still apply. The tool cannot inspect remaining capacity. The destination area check is only an early range check, not a capacity guarantee.
- One source row exceeding 1 MB of clipboard text is rejected; select fewer columns or split that data locally. A row that fails after a confirmed batch pauses with the affected source row and retains confirmed progress.
- Excel values use their displayed text, including number formats. Dates become text. Formula cells use cached results; formulas without cached results produce an error asking you to recalculate and save in Excel. VBA macros are never executed. No styles, charts, merges or formula logic transfer. Hidden rows/columns are included when selected. Merged cells retain only their stored top-left value.
- CSV fields remain text, including long IDs and leading zeros. Formula-looking strings must be pasted into a Plain text target. Excel numeric precision already lost in the source cannot be recovered.
- Password-protected/encrypted files are not supported. Recalculate/unprotect/save locally before opening.
- Embedded tabs, newlines and quotes are quoted in TSV. Browser paste behavior must be checked with a small first batch; the extension does not verify the resulting sheet.
- The extension makes no network requests. Open Google Sheet opens your supplied link in the default browser. Pasting subsequently sends data to Google through your browser. Clipboard managers may retain copied data.
Develop / verify
npm ci
npm test
npm run package
src/core.js: parsing, projection, validation and TSV batching. src/worker.js: background file reading/hash verification. src/transfer.js: confirmation/persistence state machine. src/extension.js: VS Code integration. media/: webview. Tests exercise actual format round trips, the worker and the extension workflow with a stubbed VS Code boundary; they do not automate a live Google Sheets paste.
The reader uses SheetJS CE 0.20.3 from its official distribution. The interface uses the VS Code Webview API.