.SP

SP File

SPICE Circuit Simulation Netlist / Data File
Ask a question
QUICK ANSWER

An SP file is usually a SPICE netlist: a plain-text description of an electronic circuit (components, nodes, models, simulation commands) used by analog simulators such as LTspice, ngspice, PSpice and NI Multisim. Open it in any text editor to read it, or load it into a SPICE simulator to run the analysis. The same extension is also used by SourcePawn script source files for SourceMod game-server plugins.

Developer: UC Berkeley (original SPICE); used by many EDA tools (NI Multisim, LTspice, ngspice, PSpice) Category: Misc Files Open standard MIME: text/plain
OPENS ON Windows macOS Linux
Related: .TORRENT · .MSO · .MD5 · .SHS

On this page

19k+ extensions indexed
Last reviewed Sep 3, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SP file format?

An .sp file is a plain-text SPICE netlist - a circuit description used by electronic simulation tools to analyze analog and mixed-signal circuits. SPICE (Simulation Program with Integrated Circuit Emphasis) was originally developed at UC Berkeley in 1973, and the .sp extension became a widely adopted convention in EDA (Electronic Design Automation) workflows, particularly in HSPICE and Spectre-based flows.

The file starts with a free-form title line, followed by element cards that describe components - resistors (R), capacitors (C), inductors (L), MOSFETs (M), BJTs (Q), voltage sources (V), current sources (I) - and their node connections. Dot-directives configure simulation types (.TRAN, .DC, .AC), define component models (.MODEL, .SUBCKT), and terminate the file with .END.

Because no single governing standard exists, SPICE dialects vary: Berkeley SPICE3, HSPICE, LTspice, PSpice, Spectre, and ngspice each differ in syntax, model parameters, and supported analyses. An .sp file written for one tool may need minor edits to work in another.

Typical use cases range from small student circuits (a few kilobytes) to large extracted transistor-level post-layout netlists reaching hundreds of megabytes. The .sp extension overlaps with the related .CIR format and .net, which share the same plain-text SPICE syntax.

Security & safety

RISK: LOW

A SPICE netlist is plain text and harmless to open. The only caveat is that some simulators support .INCLUDE/.LIB directives and shell-out mechanisms; treat decks from untrusted sources with normal caution and inspect any referenced include files. SourcePawn .sp files are also plain text (source code).

Format details

in a nutshell
FULL NAMESPICE Circuit Simulation Netlist / Data Fileaka SPICE netlist, SPICE deck
DEVELOPERUC Berkeley (original SPICE); used by many EDA tools (NI Multisim, LTspice, ngspice, PSpice)since 1973 (SPICE1, UC Berkeley); .sp convention popularized by HSPICE/Spectre flows
CATEGORYMisc Files
MIME TYPEtext/plain
TYPEPlain-text circuit description (netlist) for analog/mixed-signal simulation
STANDARDOpen · royalty-free
This extension is also used by…
  • SourcePawn source code - Plain-text .sp scripting files for SourceMod plugins (Source-engine games like CS:GO); compiled to .smx.
  • Shitennou game data - Data file associated with the Shitennou game, per legacy file databases.
  • FORTH / generic source - Occasionally a generic source or text file in older toolchains.

Programs that open SP files

Windows3 apps
NI Multisim Paid Import the SPICE netlist into a Multisim design to simulate.
LTspice Free File > Open the .sp/.cir netlist, then Run to simulate.
Notepad / any text editor Open-source Open to read and edit the netlist text directly.
macOS1 app
LTspice Free Open the netlist and run the simulation.
Linux2 apps
ngspice Open-source ngspice yourfile.sp - runs the deck; use the interactive control or batch mode.
KiCad (ngspice integration) Open-source Use the built-in simulator to load/run SPICE netlists.

Technical details

deep spec
EncodingPlain ASCII / UTF-8 (practically 7-bit ASCII for all element cards and dot-directives)
ContainerPlain text
EncryptionNone (vendor model libraries may be encrypted separately, e.g., HSPICE .inc files)
Typical size1 KB - hundreds of MB (large extracted transistor-level netlists with parasitics can reach hundreds of MB)
StructureTitle line, then element cards (R/C/L/M/Q/V/I with node connections), dot-directives (.MODEL, .TRAN, .AC, .DC, .SUBCKT), and .END terminator
Element card notationFirst character identifies component type: R=resistor, C=capacitor, M=MOSFET, Q=BJT, V=voltage source, I=current source
Dot-directives.TRAN (transient), .DC (DC sweep), .AC (AC analysis), .MODEL (component model), .SUBCKT (subcircuit definition), .INCLUDE (external file)
DialectsBerkeley SPICE2/SPICE3, HSPICE, PSpice, LTspice, Spectre, ngspice - syntax differs in parameters and supported analyses
Associated OSWindows, Linux, macOS
Related extensions.cir and .net share the same SPICE syntax; .lib and .mod store component model libraries
Historical originSPICE created at UC Berkeley in 1973; .sp extension convention popularized by HSPICE and Spectre commercial EDA flows
Released1973 (SPICE1, UC Berkeley); .sp convention popularized by HSPICE/Spectre flows
Latest versionNo single spec; dialect-dependent (SPICE3f5 syntax is the common baseline)
Open standardYes · royalty-free
Specificationngspice.sourceforge.io

SP conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SP files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SP files.

Frequently asked questions

What program opens a .sp file?
For SPICE netlists: LTspice (free), ngspice (open-source), NI Multisim or PSpice. Any text editor will also show the contents.
Is a .sp file the same as a SourceMod plugin?
It can be - SourcePawn uses .sp for plugin source code. Check the contents: SPICE files contain component cards and .MODEL/.TRAN lines; SourcePawn files contain C-like code with #include <sourcemod>.
How do I run a SPICE simulation from a .sp file?
Open it in a SPICE simulator (LTspice/ngspice) and run; the analysis directives (.TRAN, .AC, .DC) inside the file tell the simulator what to compute.
Why won't my .sp netlist run in LTspice?
SPICE dialects differ. A deck written for HSPICE, PSpice or Spectre may use syntax LTspice doesn't accept; adjust the model/option lines for your simulator.
Can I open a .sp file on a phone?
You can read the text in any mobile text/code editor, but running the simulation needs a desktop SPICE tool.

References

1Berkeley SPICE historyen.wikipedia.org
2ngspice - documentationngspice.sourceforge.io

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.NOMEDIAAndroid No-Media Marker File
6.PARTPartial Download File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.DBSQLite Database File

Related extensions

.TORRENTBitTorrent Metainfo File
.MSOMicrosoft Office HTML/OLE Data Stream (oledata.mso)
.MD5MD5 Checksum File
.SHSShell Scrap Object File
.DDDAdobe Acrobat Distiller file
.DWLDrawing Lock File (CAD)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z