Generate creepy zalgo text from the command line. Zero dependencies.
$ zalgo "hello world"
h e l l o w o r l d (but cursed)
- Creepy text for Halloween, horror themes, or just for fun
- Social media posts that stand out
- Game dev glitch text for menus, loading screens, or lore
- Unicode stress-testing for your app
- Zero dependencies, installs in under a second
npm install -g @kszongic/zalgo-cliOr run without installing:
npx @kszongic/zalgo-cli "he comes"zalgo hello world
echo "the end is near" | zalgo
zalgo -i 3 "subtle whisper"
zalgo --intensity 9 "MAXIMUM CORRUPTION"| Flag | Description |
|---|---|
-i, --intensity <n> |
Intensity level 1-10 (default: 5) |
-h, --help |
Show help |
-v, --version |
Show version |
| Level | Vibe |
|---|---|
| 1-2 | Subtle unease |
| 3-4 | Something is wrong |
| 5 | Classic zalgo (default) |
| 6-7 | Hard to read |
| 8-10 | Pure chaos |
zalgo -i 7 "trick or treat" | pbcopy # macOS
zalgo -i 7 "trick or treat" | clip # Windowsgit commit -m "$(zalgo -i 3 'fix: resolved the haunted bug')"for word in "ERROR" "SYSTEM FAILURE" "HE SEES YOU" "WAKE UP"; do
zalgo -i 8 "$word"
done > glitch-strings.txtfor i in 1 3 5 7 9; do
zalgo -i $i "the signal is degrading"
donezalgo -i 10 "$(cat input.txt)" | your-rendererfortune | zalgo -i 4
echo "moo" | zalgo -i 6 | cowsayZalgo text uses Unicode combining characters, diacritical marks that stack above, below, and through base characters. The CLI randomly attaches combining marks (U+0300 to U+036F and beyond) to each character. Higher intensity means more marks per character means more chaos.
This is valid Unicode. Any system that renders Unicode will display the stacked marks. Some renderers handle it gracefully; others don't. That's the fun.
- Social media and messaging eye-catching posts
- Horror/ARG content creepy text for games, videos, stories
- Memes and fun
- QA testing stress-test text rendering, input validation, databases
- Creative coding generative art, interactive fiction
| Feature | zalgo-cli | zalgo.js (library) | Online generators |
|---|---|---|---|
| CLI / pipe-friendly | Yes | No | No |
| Intensity control | 1-10 | Yes | Sometimes |
| stdin support | Yes | No | No |
| Zero dependencies | Yes | No | N/A |
| Offline | Yes | Yes | No |
| Scriptable | Yes | Yes | No |
Other @kszongic CLI tools:
- matrix-rain-cli Matrix digital rain in the terminal
- mirror-text-cli Reverse/mirror text with Unicode
- lorem-gen-cli Generate placeholder text
- rotn-cli ROT-N cipher encoding
- string-hash-cli Hash strings from the terminal
This package has no dependencies. Just Node.js.
MIT