Skip to main content
Share Your Experience: Take the 2024 Developer Survey
243 votes

"Hello, World!"

Seed, 6016 4234 4203 bytes ...
feersum's user avatar
  • 31.4k
213 votes

Hello, World! (Every other character)

Python 3, 61 bytes rant="partisn't" print(("HHeelllloo,, WWoorrlldd!!"""[::2])) Try it online! Abusing the fact that print ...
vroomfondel's user avatar
  • 2,264
164 votes

"Hello, World!"

brainfuck, 72 bytes ...
KSab's user avatar
  • 6,704
64 votes

Hello World in Multiple Languages

16 languages, 1363 bytes ...
Adalynn's user avatar
  • 6,122
62 votes

Hello, World! (Every other character)

Cardinal, 29 bytes % " H e l l o , W o r l d ! Try it online! Removing every other character removes all the linefeeds, which still results in ...
Martin Ender's user avatar
55 votes

Rube Goldberg Hello World

Foo → gs2 → M → Jelly → Retina → Aeolbonn → Par → Actually → Sprects → sed → Universal Lambda → Lines → /// → m4: 19/13 ≈ 1.4615 points "“GḋÞḊCøẉYỴ⁴ñ<ȯƥ»Ṿ¦ ...
lynn's user avatar
  • 68.7k
52 votes
Accepted

Rube Goldberg Hello World

33 languages, 40 bytes, 1.25 points ...
Dennis's user avatar
  • 210k
52 votes

Hello, World! (Every other character)

C, 125 bytes xpxuxtxs( ) { }xuxs ( ) { } main( ) {puts ( "Hello, World!" ) ; } mxaxixn ( ) {xpxuxtxs ( " H e l l o , W o r l d ! " ) ; } Try it online! With ...
Steadybox's user avatar
  • 16.5k
50 votes

"Hello, World!"

Seed, 4154 4135 4117 4078 bytes Explanation, quite long, along with the description of the generation algorithm on my home page (as per request in comments): link Possibly smallest one can create in ...
Kamila Szewczyk's user avatar
50 votes

Biggest Irreducible Hello World

Keg, \$3.3 \times 10^{8912898}\$ bytes ...÷⅍+ℤ,(􏿿|⅍+)ℤ,(􏿿|⅍+)ℤ,(􏿿|⅍+)ℤ,(􏿿|⅍+)ℤ,⅍+ℤ,⅍+ℤ,⅍+ℤ,(􏿿|⅍+)ℤ,(􏿿|⅍+)ℤ,(􏿿|⅍+)ℤ,(􏿿|⅍+)ℤ,⅍+ℤ, Program as seen in the raw ...
lyxal's user avatar
  • 33.5k
43 votes

Biggest Irreducible Hello World

APL (Dyalog Unicode), \$ \approx (10 \uparrow)^{625} 10.024549 \gg 10 \uparrow \uparrow 626 \$ bytes ⎕UCS(13⌿*⌿2+|⊃⎕RL⊣⎕RL←⍪⍨1)⊤≢⍬⍬⍬... The exact byte count is $...
Bubbler's user avatar
  • 76.8k
43 votes

"Hello, World!" in zero lines of code

Haskell, 36 35 bytes {-{--}--}main=putStr"Hello, world!" Try it online! Test sloc Since sloc is regex based it is a very good guess to think it cannot ...
Wheat Wizard's user avatar
  • 98.8k
42 votes

print "Hello, World!"

Bash, 21 19 bytes lp<<<Hello,\ World! And there it is. 2 bytes saved thanks to Dennis!
Blue's user avatar
  • 28.5k
41 votes
Accepted

Hell0 W0rld! scored by ASCII values

Lenguage, score 0 Well, this is quite boring and obvious, but it seems to achieve the perfect score (assuming I understand the challenge correctly). To fix this loophole, you should probably add the ...
the default.'s user avatar
  • 8,415
40 votes

"Hello, World!"

Java 5, 61 bytes enum H{H;{System.out.print("Hello, World!");System.exit(0);}} This is valid in both Java 5 and Java 6. This won't work in Java 4 or ...
Olivier Grégoire's user avatar
40 votes
Accepted

Hello World in Multiple Languages

23 Befunges, 713 bytes The only language I really know is Befunge, so instead of multiple languages, I've just gone with multiple implementations of Befunge. I believe this is still valid under PPCG ...
James Holderness's user avatar
38 votes

print "Hello, World!"

PowerShell, 18 bytes 'Hello, World!'|lp Try it online!
briantist's user avatar
  • 3,280
38 votes

Hello World in Multiple Languages

15 languages, 532 bytes ...
lynn's user avatar
  • 68.7k
36 votes

Goodbye Cruel World!

Jelly, 12 bytes “¿µƝɓṭỵae»Ȯ: Try it online! Explanation: ...
Christian Legge's user avatar
36 votes

Goodbye Cruel World!

C, 43 bytes main(){puts(puts("Goodbye Cruel World!"));} Prints the string and then tries to use the return value as a pointer to another string to be printed, ...
Steadybox's user avatar
  • 16.5k
36 votes

Hello, World! (Every other character)

Actually, 2 bytes HH Explanation: H, as you might expect, pushes Hello, World! to the ...
Okx's user avatar
  • 16.4k
34 votes

"Hello, World!"

Shakespeare Programming Language, 755 749 715 612 605 592 bytes -34 bytes thanks to jimmy23013 -And a whole 107 bytes more! Wow! ...
Jo King's user avatar
  • 47.2k
34 votes

Animate the text in your terminal

Vim 26 bytes ihello world<ESC>qq~gsul@qq0@q Explanation (no .gif yet): First, we must enter the 'hello world' text. This is pretty straightforward. It's ...
DJMcMayhem's user avatar
  • 59.2k
33 votes

"Hello, World!" in zero lines of code

Java 6, 83 68 54 Bytes The code : /**/enum C{C;{System.out.print("Hello, World!");}}/**/ Although crashes immediately with error sent to stderr, prints ...
Amir M's user avatar
  • 431
33 votes

"Hello, World!" in zero lines of code

Groovy, 28 bytes /**/print"Hello, World!"/**/ Try it online! Squirrel, 30 bytes ...
Mukundan314's user avatar
32 votes

Rube Goldberg Hello World

Jolf -> Actually -> Jelly -> Pyth -> Retina -> /// -> Golfscript: 15 / 6 = 2.5 points 5.4 points thanks to Martin Ender. 0.1 points thanks to Cᴏɴᴏʀ O'Bʀɪᴇɴ. Note: both Actually and Jelly have their ...
Leaky Nun's user avatar
  • 49.8k
31 votes

Write a program with the smallest width

Zalgo, score 5.221 0.222 ...
Bubbler's user avatar
  • 76.8k
30 votes

"Hello, World!" in zero lines of code

PHP, 33 bytes Dewi Morgan claimed there was no possible solution, so that obviously made me look further into a way to do it :) (he then followed up with multiple 'shenanigans') Thing is, we can ...
Ángel's user avatar
  • 656
30 votes

Write a program with the smallest width

Python, 125.833 score ...
dingledooper's user avatar
  • 22.7k

Only top scored, non community-wiki answers of a minimum length are eligible