Skip to content
breakpoınt

code.golf

Solve small tasks in the fewest bytes, in about 96 languages

code.golf is a site where you solve small programming tasks, called holes, in as few bytes or characters as possible. There are about 135 holes, such as Fibonacci, the 24 game, Sudoku and the Tower of Hanoi, sorted into art, computing, gaming, mathematics, sequence and transform.

Play on code.golf

Free · No login · Browser · Intermediate

code.golf preview

About code.golf

Golfing pushes you to learn the odd corners of a language. It suits people who already program and enjoy clever tricks. Each hole has a leaderboard for every language, and the shortest solution earns the most points.

You write and run code in the browser, in about 96 languages. You can play without logging in, but to save solutions and appear on leaderboards you sign in with GitHub. It is free and open source under the MIT license.

On Breakpoint since 23 Oct 2026.

Is this your game? Update the listing

Keyboard shortcuts

j / k
Move down / up the list (this page)
] / [
Next / previous page
o
Open the focused game
b
Save or unsave the focused game
/
Search (the home list, or the command palette elsewhere)
Ctrl K
Command palette: games, skills, pages (works even when single keys are off)
?
This help