Tool for decoding / encoding in Spoon. Spoon is a minimalist programming language strongly inspired by Brainfuck and composed only of 0 and 1.
Spoon - dCode
Tag(s) : Programming Language
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Spoon is an esoteric programming language, entirely inspired by Brainfuck. Spoon is distinguished by a coding table using only the symbols 0 and 1 and based on Huffman encoding making the code more compact.
The Spoon programming language reuses the 8 operators of Brainf*ck but the instructions are in binary so as to make it even more obfuscated! Spoon also includes two additional instructions, DEBUG and EXIT, to facilitate debugging and stopping the program.
Spoon | Brainfuck | Description |
---|---|---|
1 | + | increment +1 |
000 | - | décrement -1 |
010 | > | move right |
011 | < | move left |
00100 | [ | start loop |
0011 | ] | end loop |
001010 | . | output |
0010110 | , | input |
00101110 | debug | |
00101110 | exit |
Example: The Spoon program 11111111110010001010101110101111111010111111111101101101101100000110100100101111111111111001010010111111111111001010000001010001010000001010 corresponds to BF code ++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>+++++++++++++.>++++++++++++.-..-. and should output the 5 characters Spoon.
To learn how to code with Spoon programming language, the easiest way is to learn the basics of Brainfuck and manipulation of pointers.
dCode ignores DEBUG and EXIT instructions
The Spoon cannot be exactly decoded, it can be run through an interpreter/compiler. The compiler will perform the requested instructions, and sometimes output something.
Each output byte will appear in the dCode console.
The contents of the memory is also displayed.
The message is binary, composed only of values 1, 000, 010, 011, 00100, 0011, 001010 and 0010110
It is possible to change the representations of 1 and 0 to different symbols.
Spoon ignores spaces, tabs, and line breaks.
Steve Goodwin (Marquis de Geek) is the author of Spoon here
dCode retains ownership of the "Spoon" source code. Any algorithm for the "Spoon" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Spoon" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Spoon" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "Spoon" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source.
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: Spoon on dCode.fr [online website], retrieved on 2025-04-15,