Search for a tool
LOLCODE Language

Tool for programming and translating LOLCODE, a programming language written with words from English forums/slang, such as OMG, O RLY, I HAS...

Results

LOLCODE Language -

Tag(s) : Programming Language

Share
Share
dCode and more

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!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'LOLCODE Language' tool for free! Thank you!

LOLCODE Language

LOLCODE Interpreter





See also: Brainfuck

Answers to Questions (FAQ)

Whate is LOLCODE? (Definition)

Lolcode is a programming language, it is not an encryption, it follows a syntax similar to other programming languages but is very verbose and misuses keywords that are usually replaced by symbols in programming.

Example: I HAS A VAR ITZ 0 corresponds to VAR = 0

How to write/encrypt using LOLCODE?

Like any language, its practice requires learning the syntax and its functions, theoretically the source code starts with HAI (which could translate to Hello) and ends with KTHXBYE (which could be translate by OK, thanks, bye.).

The lolcode is of relatively low level, it implements the basic functions like the variable declaration or the loops of IM IN YR up to IM OUTTA YR (which could be translated as I am inside of and I'm outside of).

Here are some other key words in the lolcode language:

lolcodeequivalent
ALWAYZ const IZ valuedefine a constante: define
CAN HASinclude a file: include
MUST HASinclude a file: require
VISIBLEshow/ouput: print/stdout
I HAS variablevariable declaration: var = null
IZ valuevariable affectation: = value
UPUP!incrementation: ++
DOWNDOWN!decrementation: --
IM IN URstart loop: for/foreach
IM OUTTA URend loop
I FOUND MAH valuereturn value
BTW commentindicate a comment
KTHXend loop or object declaration

How to interpret/translate/decrypt lolcode?

Like any programming language the lolcode has an interpreter and a compiler that can translate the code into a machine language for a computer.

To allow reading to a human, dCode proposes to convert the code into Javascript (but it requires to know this language).

Finally, if the code displays an output value, then dCode displays it automatically (the default example on this page is a Caesar Cipher in Lolcode).

dCode uses a Javascript library loljs 1.1 (a LOLCODe to JavaScript translator) created by Mark Watkinson.

How to recognize lolcode?

The lolcode contains many slang words from the English language, including spelling or grammatical errors: I HAS, IS, ALWAYZ, and so on.

Source code

dCode retains ownership of the "LOLCODE Language" source code. Any algorithm for the "LOLCODE Language" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "LOLCODE Language" 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 "LOLCODE Language" 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.

Cite dCode

The content of the page "LOLCODE Language" 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: https://www.dcode.fr/lolcode-language
In a scientific article or book, the recommended bibliographic citation is: LOLCODE Language on dCode.fr [online website], retrieved on 2025-04-16, https://www.dcode.fr/lolcode-language

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'LOLCODE Language' tool for free! Thank you!


https://www.dcode.fr/lolcode-language
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback