Online Gnuplot Terminal

The most convenient way to run Gnuplot in your browser. No installation required. Create, edit, and export professional scientific plots instantly, right in your browser.

ONLINE TERMINAL — RUNS IN YOUR BROWSER
Gnuplot in the Browser
Pro Tip: Use set terminal svg dynamic for the best interactive output experience.
✓ Zero Installation ✓ Export as SVG/PNG ✓ Works on Mobile & Tablet ✓ Runs Locally in Your Browser

The online terminal is provided by the Gnuplot in the Browser project, hosted by Fort Hays State University (page by C. Clark). We thank the project for making it available for students and teachers to use and self-host.

The Power of Gnuplot, Simplified

For decades, Gnuplot has been the industry standard for scientific visualization. However, local installation and environment configuration can sometimes be a hurdle for students or researchers on-the-go. This Online Gnuplot Editor removes these barriers, providing a native-like experience directly in your web browser.

The terminal runs locally in your browser, so the scripts and data you type are processed on your own machine rather than being uploaded to a remote server.

No Setup

Skip the compilers and PATH configurations.

Cross-Platform

Works on Chromebooks, iPads, and restricted workstations.

Perfect For:

🎓
Education & Teaching

Instantly demonstrate mathematical functions and data plotting in the classroom without lab setup.

🔬
Quick Prototyping

Rapidly test your .gp scripts and visualization logic before deploying them to heavy-duty server environments.

📊
Instant Collaboration

Share snippets and preview plot results with colleagues without needing shared software environments.

Ready-to-Use Code Snippets

Copy these examples and paste them into the editor above to see Gnuplot in action.

📈 Basic 2D Function

A classic sine wave with custom titles and grid lines.

set title "Sine Wave Example"
set grid
set xlabel "X-Axis"
set ylabel "Y-Axis"
plot sin(x) lw 2 lc rgb "blue"
🧊 3D Surface Visualization

Visualize complex surfaces using the splot command.

set title "3D Sombrero Plot"
set hidden3d
set isosamples 40
splot sin(sqrt(x**2+y**2))/sqrt(x**2+y**2)
🍱 Multiplot Layout

Combine multiple graphs into a single professional figure.

set multiplot layout 2,1
plot cos(x) title "Cosine"
plot tan(x) title "Tangent"
unset multiplot

Need more advanced commands? Check out our upcoming Comprehensive Gnuplot Tutorials.

Frequently Asked Questions

Everything you need to know about using Gnuplot in a browser environment.

Q: Can I plot my own data files in this online terminal?

A: Yes, but with a slight difference from the desktop version. Since the browser cannot directly access your hard drive for security reasons, you typically need to use the “inline data” format (using plot '-') or copy-paste your dataset directly into the script. For large-scale data processing, we recommend downloading the desktop version.

Q: Which Gnuplot version is running here?

A: This terminal is provided by the Gnuplot in the Browser project (see the credit below the terminal). It is a WebAssembly port of Gnuplot 5.4 — not version 6 — so some specific hardware-dependent terminals (like wxt or windows) are replaced by the SVG and Canvas terminals. For the latest version, use the desktop download.

Q: How do I save my generated plots?

A: Most browser-based Gnuplot terminals will render the output as an SVG or PNG image. You can usually right-click the resulting image and select “Save Image As…” to download it to your device for use in LaTeX or Word documents.

Q: Is my script data safe?

A: Yes. The engine runs locally in your browser, so your scripts and data points are processed on your own machine and are not uploaded to this website.

Need more power for complex simulations?

Download the full Gnuplot suite for native performance, PDF export, and advanced terminal support.

Get Gnuplot 6.0.5 for Windows, Mac & Linux