Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Run the simulation, activate the waveform viewer, choose File → Export Data as Text (older releases may show File → Export), select the traces and simulation steps, and save the result. LTspice normally writes a tab-delimited text file—not a comma-separated CSV—so import it with the Tab delimiter before saving a true CSV.

Export waveform data from LTspice

  1. Open the schematic or netlist and run the required analysis.
  2. Click the waveform viewer so it is the active window.
  3. Add the required node voltages, device currents, or calculated traces. Use Add Trace when necessary.
  4. Open the viewer’s File menu and select Export Data as Text. In older LTspice versions the command is labeled Export. See the older procedure in Analog Devices’ export guide and the current label in its support response.
  5. In the export dialog, select the traces and, where offered, the simulation steps.
  6. Use Browse to choose the destination and filename.
  7. Click OK, then inspect the first lines of the saved file before importing it.

Remove unneeded traces before exporting. This keeps the file smaller and makes later parsing less ambiguous.

What LTspice exports: text, RAW, and PLT files

File Contains Use
Exported text Selected waveform values in a human-readable, usually tab-delimited table Excel, Python, MATLAB, GNU Octave, and other analysis tools
.raw LTspice simulation-result data, normally binary Reopening results in LTspice or programmatic raw-file readers
ASCII .raw The LTspice raw-data structure written as text with -ascii Automation or modest datasets; it is not CSV
.plt Plot configuration, selected traces, and viewer layout Restoring a plot; it does not contain waveform samples

Renaming a binary .raw file to .csv changes only its extension; Excel still cannot interpret the binary contents. The distinction between plot configuration and data is documented in LTspice’s PLT help.

Is the LTspice export a CSV?

Usually not. The normal GUI export is tab-delimited text, as described by Analog Devices support. A .txt or .tsv extension makes that delimiter explicit. Changing the extension to .csv does not convert tabs to commas.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Open it correctly in Excel

  1. Use Data → From Text/CSV (the exact label varies by Excel version).
  2. Choose Delimited and select Tab.
  3. Check the preview for separate columns and correctly interpreted scientific notation such as 1.2E-03.
  4. Load the table, then use File → Save As and choose CSV if a comma-separated file is required.

If Excel puts everything in one column, reopen the import dialog and explicitly select Tab. Locale settings can also affect decimal separators, so verify numeric columns before analysis.

Convert with Python

import csv

with open("ltspice_export.txt", newline="") as source:
    rows = csv.reader(source, delimiter="t")
    with open("ltspice_export.csv", "w", newline="") as destination:
        writer = csv.writer(destination)
        writer.writerows(rows)

For investigation of headers and stepped data, pandas is convenient:

import pandas as pd

data = pd.read_csv("ltspice_export.txt", sep="t")
print(data.head())
print(data.columns)

Inspect the file first: headers, blank lines, run labels, and the independent-variable column differ by analysis and release. Blindly replacing tab characters can corrupt text containing punctuation or localized number formats.

Export selected voltages, currents, and expressions

The export dialog lists traces available in the waveform viewer. You can export node voltages, component currents, and calculated expressions—not just raw node signals.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
  1. Add the expression to the plot, for example V(out)-V(in) or V(out)*I(Rload).
  2. Confirm that the expression is plotted and that its label is correct.
  3. Open the export command and select that calculated trace.
  4. Check the output header after saving.

Waveform arithmetic and user-defined functions are described in the waveform-viewer documentation. Expression syntax and available functions depend on the analysis and LTspice release.

Exporting .step and other multiple-run results

For a .step, Monte Carlo, or worst-case analysis, select the required runs in the export dialog when that option is available. LTspice commonly writes runs sequentially or groups them by step rather than creating a tidy spreadsheet with one column per run. The layout can vary; an Analog Devices discussion records this stepped-export limitation.

  • Keep the step parameter or run label from the exported header.
  • Inspect several lines from every run before writing a parser.
  • Do not assume all runs have identical sample points or row counts.
  • Reshape the result in Excel, Python, MATLAB, or Octave only after identifying the actual layout.

A parser should group rows by the run markers present in your file, not by a hard-coded row count.

How analysis type changes the exported columns

  • Transient: time-domain values, normally sampled at adaptive simulator time points.
  • AC: frequency-domain values; the plotted expression may be magnitude, phase, real, or imaginary.
  • DC sweep: the swept source or parameter is the independent variable.
  • Noise: frequency-domain noise quantities using analysis-specific labels.
  • FFT: frequency-domain results derived from time-domain data.
  • Stepped analyses: multiple datasets grouped in the exported text.

Therefore, do not write a universal importer that assumes the first column is always named time.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Get equally spaced samples for FFT or filtering

Transient simulation uses adaptive time stepping, so ordinary export does not guarantee a fixed interval. FFT routines, digital filters, control calculations, and numerical differentiation may require uniform samples.

  1. Export the original adaptive-step data so the source values are preserved.
  2. Choose a sampling interval appropriate to the signal and analysis bandwidth.
  3. Resample explicitly in Python, MATLAB, or another numerical tool, documenting the interpolation method.

LTspice’s documented FFT workflow interpolates data to equally spaced time steps; exporting the FFT result can provide equally spaced data, and the help also describes applying the FFT process twice to recover equally spaced time-domain data. Treat that as an LTspice-specific workaround, not a guarantee of uniform spacing in every export. See Exporting Waveform Data.

Export an ASCII RAW file from the command line

For Windows automation, a typical batch invocation is:

LTspice.exe -ascii -b circuit.cir

-ascii requests ASCII raw output and -b runs in batch mode. The -run switch is also listed in Analog Devices’ current shortcut reference. The executable path and accepted schematic/netlist workflow depend on the operating system and release; an .asc schematic is not interchangeable with a .cir netlist in every invocation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

ASCII output is usually larger and slower than binary output and still follows LTspice’s raw-data organization, not a spreadsheet format. The raw format is not presented as a fully specified public interchange standard; check that any third-party reader supports your LTspice version. See the Analog Devices raw-format discussion.

When to use GUI export or a RAW-file reader

Approach Best for Trade-offs
GUI text export One-off work, a few traces, spreadsheet review Manual selection; tab-delimited output; stepped data may need reshaping
ASCII RAW with batch switches Scripted simulations and modest datasets Larger, slower files; still requires a raw-format parser
Binary RAW reader High-volume automation, all traces and metadata Requires a compatible library and version-aware format handling

Use GUI export when a simulation is already open and you need selected traces. Use batch simulation and raw-file parsing when reproducibility, scale, or unattended processing matters.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Preserve waveform detail

LTspice can compress waveform data while writing .raw files. The compression is lossy within relative and absolute tolerances. For precision-sensitive waveform preservation, especially with FFT or .four, rerun with:

.options plotwinsize=0

This disables that waveform-storage compression mechanism; it does not remove solver tolerances, numerical error, or modeling error. Advanced controls include:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
.options plotreltol=<value>
.options plotvntol=<value>
.options plotabstol=<value>

Tighter settings can increase file size and simulation cost. Details are in LTspice’s compression reference.

Recover data and fix common export problems

Symptom Likely cause Fix
No “Export Data as Text” command The waveform viewer is not active, no result is plotted, or the release uses “Export” Run the simulation, click the viewer title bar, and reopen its File menu. Older versions use File → Export.
Excel shows one column Tab delimiter was not detected Import as Delimited and select Tab.
Stepped data is confusing Runs are concatenated or grouped sequentially Inspect headers and labels, then group rows by run before reshaping.
RAW file looks unreadable It is binary Use GUI text export, rerun with -ascii, or use a compatible raw reader.
Curve appears less precise Waveform compression Rerun with .options plotwinsize=0 when appropriate.
Waveform disappears after closing LTspice Automatic RAW deletion is enabled Check the operation settings and raw-data directory; rerun if the file was deleted. The .plt file cannot restore samples.
Python or MATLAB import fails Headers, tabs, labels, non-time independent variables, or multiple runs Open the text file, identify its structure, then configure the importer accordingly.

LTspice operation settings include automatic deletion of raw files; the behavior is described in Operation. If the raw file is gone, there is no waveform data to export without rerunning the simulation.

Numerical data versus pictures of plots

Copying or exporting a plot image is suitable for a report, but it contains no numerical samples. Use Export Data as Text or a RAW-file workflow for values. A PWL file is a separate reverse workflow: prepared text data can be fed back into LTspice as a piecewise-linear source, as shown in Analog Devices’ PWL article.

Which external tool should you use?

  • Excel: quick inspection, small or moderate files, and basic charts.
  • Python: free, repeatable conversion, resampling, filtering, and batch processing.
  • MATLAB: established engineering teams needing advanced numerical workflows.
  • GNU Octave: a free MATLAB-compatible option for many analyses.

LTspice’s product page currently lists Windows 10/11 x64 version 26.0.2, with models shown as updated May 16, 2026; other platforms or releases may display different labels and builds. See Analog Devices LTspice.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Can LTspice export all .step runs?

The export dialog can include selected simulation steps, but the resulting text commonly groups runs sequentially. Inspect the headers and reshape the data instead of assuming one column per step.

Can I export a waveform after closing LTspice?

Only if the corresponding .raw file still exists. If automatic RAW deletion removed it, rerun the simulation; a .plt file stores plot settings, not samples.

How do I export from LTspice on macOS?

Use the waveform viewer’s export command where available; menu labels and command-line options can differ by platform and release. If a menu item is missing, activate the viewer and check the version-specific documentation.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.