Tool for decoding / encoding in ReverseFuck. ReverseFuck is an obfuscated programming language that basically reverses Brainfuck operators.
ReverseFuck - 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!
ReverseFuck looks like BrainFuck but has the particularity of inverting the BrainFuck language operators to make it even more incomprehensible: the + becomes a -, an opening bracket [ becomes a closing bracket ], and so on. Here is the table to convert BF to BrainFuck and conversely :
ReverseFuck | Brainfuck | Operation |
---|---|---|
+ | - | Pointer value - 1 |
- | + | Pointer value + 1 |
> | < | Pointer position - 1 |
< | > | Pointer position + 1 |
] | [ | Loop while pointer > 0 |
[ | ] | End loop |
. | , | Store input in pointer position |
, | . | Output ASCII value of pointer |
Example: The ReverseFuck program ----------]<-<---<-------<---------->>>>+[<<<------------,+++++++++++++,<++++++++++++++,>,<++++,-,>, corresponds to Brainfuck code ++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>++++++++++++.-------------.>--------------.<.>----.+.<. and as the two programs are identical, they display as output REVERSE.
To know what a ReverseFuck code does, run it with a ReverseFuck interpreter, that can compile it and take an argument in parameter if necessary. dCode displays in a console each byte returned as output as well as the final memory register.
A program in ReverseFuck is visually very similar to a Brainfuck code with the 8 characters +-<>[]., the only difference being the change of replacement by their opposite.
dCode retains ownership of the "ReverseFuck" source code. Any algorithm for the "ReverseFuck" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "ReverseFuck" 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 "ReverseFuck" 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 "ReverseFuck" 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: ReverseFuck on dCode.fr [online website], retrieved on 2025-04-16,