๐Ÿ‘‹
Geeky ยท 5 min read

"Hello World" in Every Programming Language

by LoveSyntax.com ยท 2025

๐Ÿฆ Twitter/X ๐Ÿ”ด Reddit ๐ŸŸ  HN ๐Ÿ“Œ Pin
Advertisement

"Hello, World!" is every programmer's first program. Simple, universal, and it marks the beginning of every coder's journey.

Python

print("Hello, World!")

JavaScript

console.log("Hello, World!");

Java

public class Main {
  public static void main(String[] args) {
    System.out.println("Hello, World!");
  }
}

Rust

fn main() { println!("Hello, World!"); }

Go

package main
import "fmt"
func main() { fmt.Println("Hello, World!") }

SQL

SELECT "Hello, World!" AS message;

C++

#include <iostream>
int main() {
    std::cout << "Hello, World!" << std::endl;
}

Bash

echo "Hello, World!"

Generate Hello World (or any phrase!) at LoveSyntax.com in all 16 languages instantly.

โšก

Try It Yourself

Generate any phrase in 16+ languages โ€” free, instant, no signup

โšก Open Generator