This project collects Hello, World! in 142 programming languages — from Python and C to Brainfuck and Shakespeare. Every file prints the same string. The differences are in the syntax.
Use it to look up how a language works, compare two languages side by side, or find something you have not seen before.
| What | Details |
|---|---|
| 142 languages | Procedural, OOP, functional, scripting, esoteric, hardware, logic, and markup. |
| Search | Type a name, find the language. Fuzzy matching included. |
| Filter | Click a paradigm tag to narrow the grid. |
| Compare | Pick up to 3 languages and see their code side by side. |
| Copy and download | One click to copy or download any source file. |
| Dark and light mode | Follows your system preference. Manual toggle available. |
| Deep links | Link directly to any language with a URL hash (e.g., #python). |
| CI/CD | GitHub Actions validates the manifest and deploys to Pages on every push. |
Hello-World/
├── docs/
│ ├── hello-world/ Source code files for all 142 languages
│ ├── index.html Website entry point
│ ├── style.css Styles and theme system
│ ├── app.js Application logic
│ ├── languages.json Language manifest (auto-generated)
│ └── build.py Build script to regenerate the manifest
├── .github/
│ └── workflows/
│ └── deploy.yml CI/CD: validation and GitHub Pages deployment
├── CONTRIBUTING.md Contribution guidelines
├── LICENSE MIT License
└── README.md
| Language | File | Description |
|---|---|---|
| Python | hello.py |
High-level, general-purpose language. |
| JavaScript | hello.js |
Primary language of the web platform. |
| Rust | hello.rs |
Memory-safe systems programming. |
| Go | hello.go |
Statically typed with built-in concurrency. |
| C++ | hello.cpp |
High-performance compiled language. |
| Haskell | hello.hs |
Purely functional programming. |
| Java | hello.java |
Platform-independent OOP language. |
| C | hello.c |
Foundation of systems programming. |
For the full list, visit the interactive site or browse the hello-world/ directory.
Regenerate languages.json from the source files:
cd docs
python build.pyThe script scans hello-world/, maps file extensions to language metadata via internal dictionaries, and writes the manifest with paradigm tags.
Contributions are welcome. See CONTRIBUTING.md for file naming conventions, paradigm tag definitions, and the pull request process.
Summary:
- Fork the repository.
- Create a feature branch:
git checkout -b feature/add-language-name. - Add the source file to
docs/hello-world/. - Update the extension mapping in
docs/build.py. - Run
python docs/build.pyto regenerate the manifest. - Commit, push, and open a pull request.
Distributed under the MIT License. See LICENSE for the full text.