Blog
Wild & Free Tools

How to Convert Excel to JSON on Linux Without Installing Anything

Last updated: March 19, 2026 5 min read

Table of Contents

  1. Browser Method — Works on Any Distro
  2. LibreOffice Calc Alternative
  3. Python Method on Linux
  4. Terminal Viewers for XLSX
  5. Offline Use on Linux
  6. Frequently Asked Questions

Linux users searching for a quick Excel-to-JSON conversion often end up down a rabbit hole: install Python, install pandas, install openpyxl, debug a date parsing error. For a one-time conversion — or when you're on a locked-down machine — there's a better way. Open your browser, drop the file, get JSON. No packages, no terminal, no setup.

Browser Method: Works on Ubuntu, Arch, Fedora, Debian — Any Distro

Open the Excel to JSON converter in Chrome, Firefox, or Chromium. Drop your .xlsx file. JSON appears in a few seconds. Click Download or Copy.

That's it. No packages to install. Works whether you're running Ubuntu 24.04, Arch Linux, Fedora, Pop!_OS, Debian, or any other distro. The tool uses standard browser APIs that every modern browser supports.

And because everything processes in your browser — using a client-side JavaScript engine — no data is sent to any server. This matters on air-gapped or corporate Linux machines where upload-based converters aren't allowed.

LibreOffice Calc: The Built-In Option (With Limits)

If you already have LibreOffice installed, you can use a Basic macro to export a sheet as JSON. But honestly: writing and debugging a LibreOffice macro for a one-time export takes longer than just using the browser tool. The macro approach makes sense if you're automating regular batch exports — not for ad hoc conversions.

LibreOffice also has limited native JSON export — you'd be writing the serialization logic yourself. The browser tool handles nested data types, date detection, and minification automatically.

Sell Custom Apparel — We Handle Printing & Free Shipping

Python Method: pandas + openpyxl

For programmatic or repeated conversions on Linux, Python is the power tool. Here's the minimal working code:

pip install pandas openpyxl
python3 -c "
import pandas as pd, json
df = pd.read_excel('yourfile.xlsx', sheet_name=0)
print(json.dumps(df.to_dict('records'), indent=2))
" > output.json

This works well when:

For everything else — especially one-off conversions or when you don't have pandas available — the browser approach is faster. See our full comparison in Excel to JSON: Python vs Browser Tool.

Viewing XLSX in the Terminal (Before Converting)

If you want to inspect the Excel file before converting — check sheet names, column headers, row count — the browser-based Excel viewer is the easiest option. It shows the full spreadsheet in a sortable table without any install.

For terminal diehards, ssconvert (from Gnumeric) can convert .xlsx to .csv, and then you can view the CSV with tools like column -t or csvkit. But this adds dependencies and doesn't produce JSON directly.

Can You Use the Converter Offline on Linux?

Technically no — you need to load the page once (requires network access). But once the page is loaded, the conversion itself runs entirely offline. The JavaScript engine that parses your Excel file is downloaded with the page and runs locally in your browser. You could load the page, then disconnect from the network, and conversion would still work.

For a truly offline solution that persists without a browser connection, the Python approach (pandas) is better — you install it once and it works forever without network access.

Try It Free — No Signup Required

Runs 100% in your browser. No data is collected, stored, or sent anywhere.

Open Free Excel to JSON Converter

Frequently Asked Questions

Does this work in Firefox on Linux?

Yes. Firefox on Linux is fully supported. The tool uses standard File API and ArrayBuffer APIs available in every modern browser including Firefox 100+.

Can I process multiple Excel files at once?

The current tool processes one file at a time. For batch processing multiple files on Linux, the Python pandas approach is better — loop over files in a directory and convert each one.

What about .ods files from LibreOffice Calc?

The tool accepts .ods files in addition to .xlsx and .xls. If you created your spreadsheet in LibreOffice Calc, you can convert directly without exporting to .xlsx first.

My company does not allow file uploads. Is this safe to use?

Yes. The tool processes your file entirely in the browser — no data is transmitted to any server. It is technically equivalent to opening the file in a local application. Many security-conscious Linux users specifically prefer this tool for that reason.

Stephanie Ward
Stephanie Ward Diagram & Visual Documentation Writer

Stephanie spent eight years as a business analyst creating flowcharts, ERDs, and process diagrams for enterprise software teams. She makes diagram creation approachable for teams without a dedicated designer.

More articles by Stephanie →
Launch Your Own Clothing Brand — No Inventory, No Risk