| Symbol Name | Butterfly |
| Unicode Version | 3.0 |
| Unicode | U+1F98B |
| Unicode block | |
| General category | Emoji (So) |
| CSS Code | \1F98B |
| Hex Code | 0x1F98B |
| HTML Code | 🦋 |
| LaTeX | LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent) |
| Symbol | 🦋 |
| URL encode (UTF-8 percent) | %F0%9F%A6%8B |
| Discord / Slack shortcode | :butterfly: |
| GitHub shortcode | :butterfly: |
| Spoken / screen reader name | Butterfly |
| UTF-8 | F0 9F A6 8B |
| UTF-16 | D83E DD8B |
| UTF-32 | 0001F98B |
1\documentclass{article}2\usepackage{pifont}3LuaLaTeX/XeLaTeX: literal grapheme cluster or \usepackage{emoji} (engine-dependent)4\end{document}You can type the butterfly symbol on most modern devices with the help of following methods:
Windows: Win + . ; macOS: Ctrl + Cmd + Space; mobile: Animals & Nature in emoji keyboard.
Edit → Emoji & Symbols, search "butterfly".
Emoji picker (IBus, GNOME Characters) or paste from this page.
Emoji keyboard → Animals & Nature, or search "butterfly".
Emoji keyboard → Animals; search "butterfly".
1span.butterfly::before { content: "\1F98B"; } /* prefer inline grapheme for ZWJ */1<span>🦋</span>Butterfly symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\uD83E\uDD8B' or String.fromCodePoint(0x1F98B) |
| Python | '\N{BUTTERFLY}' |
| Rust | '\u{1F98B}' |
| Swift | "\u{1F98B}" |
| Go | string(rune(0x1F98B)) |
| Ruby | "\u{1F98B}" |