Open source · MIT

Fancy text in your terminal

The engine of this site as a command: 88 styles, translators, big letters and the whole library. One file, no dependencies, Node 16+.

curl -fsSL https://copy-fonts.com/install.sh | sh

Version 0.3.0 · one file, no dependencies · copyfonts.js · GitHub · MIT

Star
Open source on GitHubRead the code, open an issue or send a pull request: github.com/romainmaxxing/copyfonts

Install

One file, no dependencies, Node.js 16 or newer, on macOS, Linux and Windows (WSL or Git Bash for the installer).

curl -fsSL https://copy-fonts.com/install.sh | sh

The installer puts copyfonts in ~/.local/bin (set COPYFONTS_DIR to change it) and tells you if that folder is not in your PATH. Run it again to update. Without the installer:

curl -fsSL https://copy-fonts.com/copyfonts.js -o copyfonts && chmod +x copyfonts && ./copyfonts --version

Or with npm, once published: npm i -g copyfonts-cli. Uninstall: rm ~/.local/bin/copyfonts.

Quick start

copyfonts "Hello" -s cursive        # one style
echo "Hello" | copyfonts -s bold   # from a pipe
copyfonts kaomoji love -r -c       # a random face, copied
copyfonts big "GG"                 # big letters
copyfonts --help
$ copyfonts "Hello" -s boldScript
𝓗𝓮𝓵𝓵𝓸

Fonts

Style text with any of the Unicode styles. Text comes from the arguments or from a pipe.

copyfonts "text"

Every style at once, one per line.

$ copyfonts "Hello"
Cursive               ℋℯ𝓁𝓁ℴ
Bold cursive          𝓗𝓮𝓵𝓵𝓸
Bold serif            𝐇𝐞𝐥𝐥𝐨
Bold sans             𝗛𝗲𝗹𝗹𝗼
Italic                𝐻𝑒𝑙𝑙𝑜
Bold italic           𝑯𝒆𝒍𝒍𝒐
Sans italic           𝘏𝘦𝘭𝘭𝘰
Sans bold italic      𝙃𝙚𝙡𝙡𝙤
…
copyfonts "text" -s <style>

One style. Accepts the id or the name, case and spaces ignored, prefixes work (-s bolds).

$ copyfonts "Hello world" -s boldScript
𝓗𝓮𝓵𝓵𝓸 𝔀𝓸𝓻𝓵𝓭
copyfonts styles [category]

List style ids with a preview. Categories: cursive, bold, fancy, aesthetic, small, symbols, lines, glitch, decor, world, fun.

$ copyfonts styles fun
clap            Clap 👏               CopyFonts
mocking         Mocking case          cOpYfOnTs
leet            Leet 1337             C0pyF0n75
wingdings       Wingdings             👍□🞐⍓☞□■⧫⬧
morse           Morse code            -.-. --- .--. -.-- ..-. --- -. - ...
binary          Binary                01000011 01101111 01110000 01111001 01000110 01101111 01101110 01110100 01110011
copyfonts random "text"

A random style; its id is printed on stderr.

copyfonts nick "name" [-n 20]

Stylish nickname ideas: a style inside a frame, different on every run.

$ copyfonts nick "Neo" -n 5
⊹₊ ⋆ ᴺᵉᵒ ⋆ ₊⊹
✶ 🅽🅴🅾 ✶
♥ Neo ♥
¨̮ 𝕹𝖊𝖔 ¨̮
·.¸¸.·♩♪♫ 𝑁𝑒𝑜 ♫♪♩·.¸¸.·

Big letters

Large letters drawn with characters (5 rows high). Accents are removed, unknown characters become ?.

copyfonts big "text" [-f font]

ASCII big text. Fonts: block, hearts, wide, hash, stars, dots, shade, letters.

$ copyfonts big "Hi" -f hash
#   # ###
#   #  #
#####  #
#   #  #
#   # ###
copyfonts banner "text" [-e 🔥] [-b ⬛]

Big emoji letters: -e fill, -b background.

$ copyfonts banner "OK" -e 🟩 -b ⬛
⬛🟩🟩🟩⬛⬛🟩⬛⬛⬛🟩
🟩⬛⬛⬛🟩⬛🟩⬛⬛🟩⬛
🟩⬛⬛⬛🟩⬛🟩🟩🟩⬛⬛
🟩⬛⬛⬛🟩⬛🟩⬛⬛🟩⬛
⬛🟩🟩🟩⬛⬛🟩⬛⬛⬛🟩

Translators

Encode by default, decode with -d. Every translator round-trips.

copyfonts morse "text" [-d]

International Morse code: letters separated by a space, words by /.

$ copyfonts morse "SOS help"
... --- ... / .... . .-.. .--.
copyfonts binary "text" [-d]

UTF-8 bytes, 8 bits each. Emoji and accents included.

$ copyfonts binary "hé"
01101000 11000011 10101001
copyfonts wingdings "text" [-d]

The Unicode symbols that the Wingdings font draws for each letter.

$ copyfonts wingdings "Hello"
☟♏●●□

Library

Every library command lists its groups when called without one. Group names are matched loosely (kaomoji cat, combos cotta). Items come out most loved first, from the votes of the website.

copyfonts kaomoji [mood]

Text faces by mood: joy, love, sad, angry, cat, bear, lenny, shrug, tables…

$ copyfonts kaomoji bear -n 5
ʕ´•ᴥ•`ʔ
ʕ ꈍᴥꈍʔ
ʕ•ᴥ•ʔ
ʕ·ᴥ·ʔ
ʕ•ᴥ•ʔノ
copyfonts lenny

A random face from the lenny builder.

copyfonts symbols [group]

Unicode symbols by group, space separated.

$ copyfonts symbols zodiac
♊ ⚯ ♈ ♉ ♋ ♌ ♍ ♎ ♏ ♐ ♑ ♒ ♓ ⛎ ☉ ☽ ☾ ☿ ♀ ♁ ♂ ♃ ♄ ♅ ♆ ♇ ⚳ ⚴ ⚵ ⚶ ⚷ ⚸ ⚹ ⚺ ⚻ ⚼ ☊ ☋ ☌ ☍ ⛢ ♈︎ ♉︎ ♊︎ ♋︎ ♌︎ ♍︎ ♎︎ ♏︎ ♐︎ ♑︎ ♒︎ ♓︎ 🔯 ✡ 🌞 🌝 🌚 🔮 🧿 🪬 🌌 ☄ 🪐 ⛧ ⛤ ⛥ ⛦ ⛨ ♮ ⊕ ⊗ ⍟
copyfonts combos [theme]

Emoji combos by theme.

$ copyfonts combos cottagecore -n 4
🥖🧀🍇
🍄🧺🌿
🐝🍯🌻
🧶🐑🌾
copyfonts ascii [name|category]

A drawing by name, or a whole category. Without argument: the list.

$ copyfonts ascii cat
 /\_/\
( o.o )
 > ^ <
copyfonts oneline [group]

One-line art: swords, fish, cats, music…

$ copyfonts oneline swords -n 4
o()xxxx[{::::::::::::::::::>
▬▬ι═══════ﺤ
-═══════ι▬▬
<::::::::::::::::::}]xxxx()o
copyfonts divider [group]

A random divider; with a group or -n, a list.

$ copyfonts divider waves -n 3
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
🌊🌊🌊🌊🌊🌊🌊🌊
~~~~~~~~~~~~~~
copyfonts art [name] [-e 💜]

Emoji pixel drawings; -e recolours the main colour.

$ copyfonts art heart
⬛🟥🟥⬛⬛⬛🟥🟥⬛
🟥🟥🟥🟥⬛🟥🟥🟥🟥
🟥⬜🟥🟥🟥🟥🟥🟥🟥
🟥🟥🟥🟥🟥🟥🟥🟥🟥
⬛🟥🟥🟥🟥🟥🟥🟥⬛
⬛⬛🟥🟥🟥🟥🟥⬛⬛
⬛⬛⬛🟥🟥🟥⬛⬛⬛
⬛⬛⬛⬛🟥⬛⬛⬛⬛
copyfonts frame "text" [group]

Your text in frames. Without group, a sample of every group.

$ copyfonts frame "Neo" gamer -n 4
🎮 Neo 🎮
👾 Neo 👾
🕹️ Neo 🕹️
⚔ Neo 🛡
copyfonts box "text" [-s style]

Text in a box: double, rounded, heavy, simple, dashed, ascii, stars. Multi-line text works.

$ copyfonts box "Hello" -s rounded
╭───────╮
│ Hello │
╰───────╯
copyfonts blank [count] [-s name]

Invisible characters for blank names (Hangul filler by default).

copyfonts search <word>

Find groups, drawings and styles in the whole library.

$ copyfonts search moon
copyfonts ascii crescentmoon            drawing
copyfonts art moon                      emoji art
copyfonts "text" -s moon                style

Options

Options go anywhere after the command. -- ends the options (copyfonts -- -s styles the text "-s").

OptionWhat it does
-s, --style <id>Style id or name; box style for box; blank name for blank.
-f, --font <id>Font of big.
-e, --emoji <e>Fill of banner and art.
-b, --bg <e>Background of banner.
-n, --count <n>How many items a list prints.
-r, --randomOne random item of a list (kaomoji love -r).
-d, --decodeTranslators: decode instead of encode.
-c, --copyCopy the result to the clipboard (pbcopy, wl-copy, xclip, xsel or clip.exe). With -r, copies the picked item.
-h, --helpThe short help.
-v, --versionThe version.

Pipes & clipboard

When no text is given, styling commands read standard input, so copyfonts fits in scripts. With -s, every line is styled and keeps its line break.

git log -1 --format=%s | copyfonts -s sansBold
copyfonts big "DEPLOY" -f block >> banner.txt
copyfonts "Neo" -s legend -c        # straight to the clipboard

Colours are only used on a terminal; output to a pipe or a file is plain text.

Environment

VariableEffect
NO_COLORAny value turns colours off.
COPYFONTS_DIRInstaller: install folder (default ~/.local/bin).
COPYFONTS_URLInstaller: download address of copyfonts.js.

Exit codes

0Success.
1Unknown style, group, font or drawing, or missing text. The message on stderr says what is valid.

JavaScript API

The package exports the engine (src/core.js), usable in Node and in the browser (window.CopyFonts). No dependencies.

const cf = require('copyfonts-cli');        // the same engine as the website

cf.STYLES.find(s => s[0] === 'boldScript')[3]('Hello');   // '𝓗𝓮𝓵𝓵𝓸'
cf.map('abc', cf.M.fraktur);                              // '𝔞𝔟𝔠'
cf.big('GG', 'hash');                                     // 5 lines of #
cf.TRANSLATORS.morse.to('SOS');                           // '... --- ...'
cf.TRANSLATORS.binary.from('01101000 01101001');          // 'hi'
cf.KAOMOJI.Love;                                          // ['(♥ω♥*)', …]
cf.box('Hello', 'rounded');
cf.nick('Neo', 10);                                       // 10 nickname ideas
ExportWhat it is
STYLES[id, name, category, transform] for every style
map(text, table), Mletter tables (bold, script, fraktur, double…) and the function that applies them
big(text, font), banner(text, fill, bg)big letters
TRANSLATORSmorse, binary, wingdings, each with to and from
SYMBOLS, KAOMOJI, COMBOS, ONELINE, DIVIDERS, FRAMES, ASCII, PIXELthe library, as { group: [items] }
frame, box, pixel, nick, lenny, INVISIBLEhelpers used by the commands

Full help

Version 0.3.0. Source, issues and contributions on GitHub (MIT).

◆ copyfonts v0.3.0  fancy Unicode text, symbols, kaomoji and text art

Fonts
  copyfonts "your text"                every style at once (88)
  copyfonts "your text" -s cursive     one style (id or name)
  copyfonts styles [category]          list styles (cursive, bold, fancy, decor, lines, fun…)
  copyfonts random "your text"         a random style
  copyfonts nick "name" [-n 20]        stylish nickname ideas ꧁ 𝓝𝓪𝓶𝓮 ꧂

Big letters
  copyfonts big "GG" [-f block]        big ASCII letters (fonts: block, hearts, wide, hash, stars, dots, shade, letters)
  copyfonts banner "GG" [-e 🔥] [-b ⬛]  big emoji letters

Translators  add -d to decode
  copyfonts morse "SOS"                text ⇄ Morse code
  copyfonts binary "hi"                text ⇄ binary (UTF-8)
  copyfonts wingdings "hello"          text ⇄ Wingdings symbols

Library  no argument: list the groups · -r: one random item · -n: how many
  copyfonts kaomoji [mood]             1340 text faces ( ͡° ͜ʖ ͡°)
  copyfonts lenny                      a random lenny face from the builder
  copyfonts symbols [group]            7107 symbols ★ ♥ →
  copyfonts combos [theme]             993 emoji combos 🌸🍵🕊️
  copyfonts ascii [name|category]      207 ASCII drawings
  copyfonts oneline [group]            565 one-line arts ▬▬ι═══════ﺤ
  copyfonts divider [group]            369 dividers (random one without -n)
  copyfonts art [name] [-e 💜] [-b ⬜]  87 emoji pixel drawings
  copyfonts frame "text" [group]       your text in 249 frames 【 text 】
  copyfonts box "text" [-s rounded]    text in a box (double, rounded, heavy, simple, dashed, ascii, stars)
  copyfonts blank [count]              invisible characters (blank names)
  copyfonts search <word>              find groups in the whole library

Options
  -s, --style <id>   style or box style        -c, --copy      copy the result to the clipboard
  -f, --font <id>    big text font             -d, --decode    translators: decode
  -e, --emoji <e>    banner / art fill         -b, --bg <e>    background
  -n, --count <n>    how many items            -r, --random    one random item
  -h, --help         this help                 -v, --version   version

Examples
  copyfonts "Romain" -s boldScript -c
  echo "hello world" | copyfonts -s glitch
  copyfonts kaomoji love -r -c
  copyfonts morse -d "... --- ..."

Same engine as the website: https://copy-fonts.com

About terminal (cli)

The CopyFonts command line uses the same engine as this site: 88 styles, translators, big letters and the full library. It is one JavaScript file with no dependencies, released under the MIT license.

More tools

Made by Romaxxing

Try , or type your name to see it in fancy fonts.