Free interactive computer-science tools
Small, fast tools that run entirely in your browser. Nothing you type is sent anywhere, and there is nothing to sign up for.
- Tool
Truth table generator
Expression in, truth table out: with DNF, CNF, a minimal form and LaTeX.
Try it: Boolean-expression parser and truth-table generator - Tool
Graph traversal visualiser
Draw a graph, then animate BFS, DFS and Dijkstra with the frontier shown.
Try it: Drawable graph with BFS, DFS and Dijkstra animation - Tool
Recursion tree visualiser
Paste a recursive function or a recurrence and see its call tree and call count.
Try it: Call-tree drawer for JavaScript functions and recurrences - Tool
Boolean algebra calculator
A Boolean expression simplifier that names the law used at every step.
Try it: Step-by-step Boolean expression simplifier - Tool
K-map solver
Fill in a Karnaugh map and see the groups, the minimal SOP and POS, and the essential terms.
Try it: Clickable Karnaugh map with don’t-cares and drawn groups - Tool
Logic gate simulator
Wire up gates, flip the switches, and get the truth table and expression of your circuit.
Try it: Drag-and-drop circuit builder with live signals and a truth table - Tool
Regex to NFA converter
Type a regular expression and watch Thompson’s construction build its NFA, fragment by fragment.
Try it: Thompson-construction stepper and NFA string tester - Tool
NFA to DFA converter
Enter an NFA or a regex and step through the subset construction, then minimise the DFA.
Try it: Subset-construction stepper with ε-closures and DFA minimisation - Tool
DFA simulator
Edit a DFA, run strings through it step by step, batch-test them and share the machine as a link.
Try it: DFA editor, step-by-step simulator and batch tester - Tool
Sorting algorithm visualizer
Up to seven sorts race on the same data, then step through any one of them line by line.
Try it: Sorting race (8–100 values) and a step-through visualiser - Tool
LaTeX table generator
Type or paste a table, merge cells, pick booktabs, and copy clean tabular code.
Try it: Grid editor with live LaTeX output and preview - Tool
Combination calculator
Exact nCr with the cancelling shown, combinations with repetition, and a full list for small n.
Try it: nCr calculator with working, odds and enumeration - Tool
Permutation calculator
nPr, nʳ, anagrams like MISSISSIPPI and round-table seatings, with exact working.
Try it: nPr calculator with four modes and a list of arrangements
Private by design
Each tool is a single page of JavaScript that runs entirely on your device. Nothing you type is uploaded, there are no accounts, and the pages work offline once loaded. Code you paste into the recursion tree visualiser runs in an isolated Web Worker with a time limit, so it cannot freeze the page.
Built for teaching
The tools show their working: the truth-table generator adds a column for every sub-expression, the Boolean algebra calculator names the law used at each step, the combination and permutation calculators write out the cancelling, the NFA to DFA converter fills in the subset table one row at a time, and the graph visualiser highlights each line of pseudocode as it runs. They are designed to be projected in a lecture or used to check homework by hand. Each one links to an explainer that covers the theory behind it.
Tools by topic
- Logic and circuits: truth table generator, Boolean algebra calculator, K-map solver and logic gate simulator.
- Counting: combination calculator and permutation calculator.
- Automata: regex to NFA, NFA to DFA converter and DFA simulator, which hand results to each other.
- Algorithms: sorting algorithm visualiser, graph traversal visualiser and recursion tree visualiser.
- Writing: LaTeX table generator.