Tool to program and translate JSFuck Language, an obfuscated way of writing JavaScript with 6 characters [] ()! +
JSFuck Language [][(![]+[]) - 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!
JSFuck is an esoteric programming language, variant of JavaScript, which only uses the characters []()+! to write valid JavaScript code.
Example: JSFuck code +[] executes as value 0 (in javascript)
The JSFuck has found ways to write numbers and letters, and by combining its solutions, almost any JavaScript code can be converted. Here are some correspondances:
JSFuck | equivalent JS |
---|---|
![] | false |
!![] | true |
+[] | 0 |
+!+[] | 1 |
!+[]+!+[] | 2 |
[+!+[]]+[+[]] | 10 |
(![]+([]+[]))[+!+[]] | a |
The JSFuck is interpreted by the browser, but it is possible to ask the browser not to execute the code, only the JavaScript equivalent and thus find more or less the original program.
dCode uses the JSFuck Javascript library by @aemkei.
JSFuck has 2 uses:
— Make the code unreadable for a human by practicing obfuscation (reminder: the code remains correct for a browser/compiler). By extension, it is possible to encode/encrypt text in JSFuck, even if it is not valid in JavaScript.
— Bypass any security restrictions put in place to validate user input in order to prevent the injection/execution of JavaScript code. So a program that has learned to spot Javascript code might not recognize JSFuck as such.
The JSFuck contains only 6 characters: the square brackets [], the parentheses (), the plus + and the exclamation point !.
dCode retains ownership of the "JSFuck Language [][(![]+[])" source code. Except explicit open source licence (indicated Creative Commons / free), the "JSFuck Language [][(![]+[])" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "JSFuck Language [][(![]+[])" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "JSFuck Language [][(![]+[])" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "JSFuck Language [][(![]+[])" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
JSFuck Language [][(![]+[]) on dCode.fr [online website], retrieved on 2024-12-30,