Skip to content
EspañolWorkspace →

About Codoritmo

Codoritmo is a free, open-source pseudocode editor that runs in the browser. It is an independent project, inspired by PSeInt and compatible with its syntax and school profiles, made for students who are learning to program.

What it is

In Codoritmo you write an algorithm in Spanish pseudocode, with the same words PSeInt uses (Algoritmo, Definir, Leer, Escribir, Si, Mientras, Para…), and run it on the same page. There is nothing to install and no account to create: your tabs are kept in your browser.

The idea is that you can see what your program does while it does it: the line being run, the flowchart block, every variable's value and the contents of every array.

What you can do

Each tool has its own page with a real example and the steps to use it.

Write and run pseudocode

An editor that highlights the syntax, suggests keywords and explains errors. The console shows what your program writes and takes the answers it asks for.

PSeInt online

Step through it, forwards and backwards

Run one instruction at a time, step back, or jump to any moment from the timeline. Pick the speed or stop the program whenever you like.

PSeInt onlineTrace tables

Animated flowcharts

The flowchart is generated from your code with the standard symbols, lights up as the program runs and downloads as PNG or SVG.

Online flowchart maker

Trace tables

A table that fills itself in with every variable's value at each step. Click a row to go back to that moment.

Trace tables

Programming with blocks

Build the algorithm with Scratch-like blocks and see the pseudocode they write. You can go from blocks to code and from code to blocks.

Block-based programming

Translate to Python, C, C++, Java and JavaScript

The translation appears next to the pseudocode and updates as you type. Copy it or download it to run it outside Codoritmo.

Pseudocode to PythonPseudocode to CPseudocode to Java

Arrays and complexity

Arrays show as boxes that change at every step, and Codoritmo can run your algorithm with growing input sizes to estimate its complexity in big-O notation.

Example library

Examples and reference

53 solved examples, each with its code, its flowchart and a sample run, and a reference that explains every instruction and function.

Example libraryLanguage reference

Compatible with PSeInt

Codoritmo understands PSeInt's syntax, including its flexible variants, and ships the 463 school profiles distributed with PSeInt. A profile sets rules such as whether arrays start at 0 or 1, whether variables must be defined or whether = can assign; you pick your course's profile and Codoritmo follows it when checking, running and translating.

It also covers PSeInt desktop's tools: editing the program from the flowchart, Nassi-Shneiderman diagrams, evaluating expressions while paused, predefined input lists and export to C, C++, Java, Python, JavaScript, C#, PHP, Pascal, Visual Basic, QBasic, MatLab and HTML. It still isn't an exact copy: there can be differences in unusual cases, and it doesn't work offline. If your course grades with PSeInt, test your final submission there.

School profilesPSeInt alternative

Free and open source

Codoritmo is free and has no ads. Its source code is open, under the GPL v2 or later, the same family of licenses as PSeInt, where the school profiles come from.

You can read the code, report a bug or suggest improvements in the repository.

See the source code on GitHubRead the GPL v2

Thanks to PSeInt

PSeInt, created by Pablo Novara, is the tool thousands of students across Latin America learned to program with, and it is the basis of everything Codoritmo does: its language, its profiles and its way of teaching. The school profiles were contributed to PSeInt by teachers from many schools and universities.

Codoritmo is not affiliated with PSeInt. The official desktop application and its documentation are on the PSeInt website.

Visit the official PSeInt project

Try it with your next exercise

Open the workspace, pick your course's profile and step through your algorithm.

Open Codoritmo