How to Say “Hello, World!” in Spanish

¡hola, mundo!
/ˈola ˈmundo/word by word
The English phrase "hello, world!" is translated into Spanish as ¡hola, mundo!
This phrase is a traditional first program written when learning a new programming language that prints this text to the screen.

What does it mean word for word?

The phrase is composed of the greeting hola (hello) and the noun mundo (world).

How does it change in a sentence?

In Spanish, exclamatory phrases like ¡hola, mundo! are traditionally enclosed by both an opening and a closing exclamation mark.

How do you pronounce it?

/ˈola ˈmundo/

Did you know?

  • The greeting hola is a cognate of the Dutch word hola. Both likely stem from an ancient Germanic command used to hail a ferryman to bring his boat to the shore.
  • The word mundo shares a Latin root with the word 'mundane'. While mundo refers to the physical world, 'mundane' evolved in English to describe the dull or ordinary aspects of that same world.

Examples in context

  • Buenos días, señor. ¿Cómo está usted?
    Good morning, sir. How are you?
  • Mi primer código dice: ¡hola, mundo!
    My first code says: hello, world!
  • Escribe ¡hola, mundo! para probar el compilador.
    Write hello, world! to test the compiler.
  • El programa imprime ¡hola, mundo! en la consola.
    The program prints hello, world! in the console.

Example conversation

Two students are in a computer science class.

  1. Daniel

    Daniel, ¿ya terminaste el ejercicio?
    Daniel, have you finished the exercise yet?
  2. María

    Sí, María. Ya imprimí ¡hola, mundo!
    Yes, María. I already printed hello, world!
  3. Daniel

    ¡Qué bien! Yo sigo intentándolo.
    That's great! I'm still trying.
  4. María

    Puedo ayudarte con el código.
    I can help you with the code.

Sources

  • IPA marked “word by word” joins the Wiktionary pronunciations of each word (hola, mundo) and can differ in connected speech.
  • Word origins: Wiktionary entries hola, mundo, CC BY-SA 4.0.
⭐Share⭐ to appreciate human effort 🙏
Karen Heather
Karen HeatherHelp make this guide better. Spot a mistake, know another way to say it, or have an example from real life? Share it below.
guest
0 Comments
Newest
Oldest Most Voted
Scroll to Top