Loading

Execution Mode

Live: will automatically execute upon every character typed (warning: could result in issues if you have intensive or partially-completed code that results in an infinite loop)

Exited code editor: will automatically execute code when the code editor loses focus - i.e. when you click outside of the code editor

Run on click: code will only be executed when you click the triangular run/play button

Programs

Choose from a number of pre-made programs or create your own

Modifying a pre-made program will automatically create a new program, ensuring the original & modified version are available

Create Trace Table

Automatically create trace tables for your code

Can use the BREAKPOINT keyword to add breakpoints at specific parts of your program

Use TRACE_NEXT_ROW to force new row to be created in trace table

Autoformat Code

Toggle original/formatted code

Formatted code will insert new lines, indentation and apply consistent styling rules

Note: you can even try writing your entire program on one line...and it should still run and be formatted correctly :)

Loading

Load a previously-saved pseudocode file (.pseudo default extension)

Download

Download a .pseudo file for future use

Note: programs will be saved periodically (every 10 seconds) to your browser's storage if changes are made - this means you can access your programs across multiple tabs

Upload

Save your program for public-viewing by anyone

Sharing

Share a direct link containing your code - your code will be contained in the URL and NOT stored on the server

Alternatively, you can select the upload option to upload your code publicly to the server

Fullscreen

Toggle between regular and fullscreen mode

Note: pressing FN/F11/ESC keys isn't recommended, since they can't be detected by us, hence we can't apply the desired styles. Hence why this toggle button exists. Alternatively, CTRL + M (minimise <-> maximise) will also work

No errors ✅

Error Checks

The site aims to enforce the statically-typed nature of pseudocode - i.e. assigning a STRING to an INTEGER variable should be forbidden. Some combinations are allowed, however - such as assigning a CHAR to a STRING or an INTEGER to a REAL. Other additional checks to ensure valid pseudocode are also in place

The site has been well-tested and there aren't any bugs we are aware of, however, if you believe the site is incorrectly giving you an error & preventing your code from running, you can disable the error-checking

In such cases, please feel free to contact us

Note that it is not possible to disable fatal error messages such as syntax errors, runtime errors etc

Subroutine Signature Hints

If enabled, the following information will be shown:

  • Keyword/Identifier/Module Name Suggestions
  • Subroutine parameters & types
  • Return types
  • Subroutine descriptions
  • Examples

Switch Program Shortcuts

Choose whether CTRL + SHIFT + LEFT/RIGHT should navigate to the previous program - can be disabled to prevent accidental triggering

Toggle Keyboard Shortcuts

Enable or disable this website's additional keyboard shortcuts (switch program, change font size, code execution etc) - note: standard editor & browser shortcuts will still apply

Wait for Tips

Will show the loading screen until at least the tip (hint) has been displayed, even if the site is fully loaded. Disabling this can hence make the editor screen appear faster, if the page is ready

Max Execution Time

To prevent infinite loops resulting in the page becoming unresponsive, code will automatically terminate if this value (in seconds) is exceeded

If you have a legitimate long-running program, you can obviously set this to a high value - alternatively, setting to -1 will disable this check

IGCSE Syllabus (Pseudocode p33) O-Level Syllabus (Pseudocode p33) A-Level Pseudocode Guide Report Bugs
YouTube Tutorials Discord Help AssemblyCode
{"0":"Algorithms","1":"Selection","2":"Iteration","3":"Arrays","4":"Records","5":"ENUMs","6":"Custom Modules","7":"Files","8":"Object-Oriented Programming","9":"Abstract Data Types","10":"Sets","11":"Pointers","12":"Recursion","13":"Exam Questions","14":"Games","15":"Mathematics","16":"Art","17":"Utilities","18":"Other"}

Welcome to Pseudocode Pro

This site was developed to solve the problems of students either being completely stuck with pseudocode, or attempting a solution, but having no way of actually validating if it would work (other than a manual trace table). This site supports the entire Cambridge IGCSE (0478), O-Level (2210) and 9618 A-Level pseudocode specifications from the guide/syllabus, with extension modules supporting sound, canvas, events, custom html etc

Below are lists of both the currently support pseudocode and general website features:

  • 📦 Variables & Constants
  • ➕ Arithmetic & Logical Operators
  • 📥📤 INPUT & OUTPUT
  • ❓❌ IF/ELSE & CASE
  • 🔁 FOR/WHILE/REPEAT...UNTIL Loops
  • 🔧 FUNCTIONS & PROCEDURES
  • 🔢 BYVAL & BYREF
  • 🔢 ARRAYs
  • 📒 TYPEs (Records & Enums)
  • 📄 File Handling (Text & RANDOM)
  • 🧩 Object-Oriented Programming
  • 🪣 Sets
  • 👉 Pointers
  • --- Extra Non-Syllabus Features ---
  • 🔊 Sound
  • 🎨 Canvas
  • 🖲️ Events
  • 🖥️ Custom HTML
  • 🌟 Code-suggestions/auto-complete
  • 🌈 Syntax Highlighting
  • 🚩 Error messages & positions
  • 💾 Loading/saving/sharing/uploading programs
  • 🥇 Interesting practice activities of various difficulties (updated daily and will have 500+ total)
  • ✨ Pretty-printing
  • ⌨️ Keyboard shortcuts
  • 🎨 Changing appearance - font size, theme, layout etc
  • 📺 Fullscreen & 📱 mobile support
  • 🎓 Syllabus-specific behaviour

Additional programs uploaded by the community can be found on the search page.

While you are here, why not try one of the many - and ever increasing list of - pseudocode coding challenges.

To support hosting & domain costs, for $2, a premium account can be purchased - this has the following benefits:

Those last 2 features are currently in progress, so an extra 3 months free will be given to anyone who buys a license now to acknowledge this

For any issues, feature requests, comments etc, you can contact me

Thanks for using the site - I hope you enjoy it and if you do, it would mean a lot if you could share it with your friends too :)

Drag & drop code or data files here