Octave Online Interactive Editor
The currently selected file can't be edited online. You can still use the toolbar above to rename, download, and delete the file. Reasons might include:
- The file type isn't supported in this editor.
- The file is in a binary format, like images.
- The file is too large and can't be loaded into the editor.
Tips & Tricks
The files you make on Octave Online will be saved for the next time you visit. They will be deleted after 6 months of inactivity.
Keyboard Shortcuts
Common shortcuts:
- Ctrl + Space
- Show the auto-completion menu
- Cmd/Ctrl + S
- Save the file
- Cmd/Ctrl/Win + R
- Run the file
- Cmd/Ctrl/Win + E
- Set focus to the prompt
« »
Plot: Line
Welcome to Octave Online
Octave Online is a web UI for GNU Octave, the open-source alternative to MATLAB. Thousands of students, educators, and researchers from around the world use Octave Online each day for studying machine learning, control systems, numerical methods, and more.





Octave Online is currently undergoing planned maintenance; service may be intermittent.
Tip: For the latest updates on Octave Online server status, check our Twitter feed @OctaveOnline.
You will be emailed an 11-digit code that you will need to enter on the next screen. If you do not receive your code, please open a support ticket for assistance.
New user? Forgot your password? Use the "email token" sign-in option instead. Once you are signed in, use the "Change Password" option in the menu to set a new password.
Change Password
Enter your new password below. To remove your password and disable password-based logins, leave the password field blank and click "Save Password".
Caution: You are using an unsecured connection (http). People might be able to see what you submit. Switch to a secured connection (https)
Bucket Project
Click below to make your own copy of this bucket or project.
Fork This Bucket Fork This Project
Forked From: Bucket Project
Created at:
Customize Bucket Customize Project
A "bucket" is the way to share snapshots of script and data files. A "project" is an editable workspace to organize script and data files.
Optional: Add More Files to Bucket Optional: Copy Files into Project
Select files and click the right arrow button.
Optional: Select Main File
The "main" script is automatically run when someone views the bucket.
After clicking below, your browser will refresh into your new bucket. You can share the URL of the page to which you are redirected. After clicking below, your browser will refresh into your new project.
Upgrade Account
View Plans / Link Patreon Account
View Plans / Link Patreon Account
Thank you for your pledge!
Want to transfer your pledge? Unlink Patreon Account
Each week, Octave Online connects tens of thousands of students, educators, and researchers in over 100 countries. We have no paywall. If you believe in our mission to provide educational software free of charge, please join us by supporting Octave Online on Patreon.