DEV Community

Cover image for Why Copying an Emoji Is Still Harder Than It Should Be
Parimal Makes
Parimal Makes

Posted on

Why Copying an Emoji Is Still Harder Than It Should Be

Last week I needed one emoji for a commit message. Just one. The pleading face.

I have a keyboard shortcut for it on my phone. On my laptop, I had no idea. So I did what most of us do. I opened a new tab, searched "pleading face emoji", clicked the first result, scrolled past an ad, and copied it.

That took about 40 seconds. For one character.

It got me thinking about how many small steps sit between "I want this emoji" and "it's in my clipboard." Here is what I found.

The OS picker is fine, until it isn't

Windows has Win + .. macOS has Ctrl + Cmd + Space. Both work. But they have some problems:

  • The list is huge and the search is hit or miss.
  • Skin tones are buried in a submenu.
  • You can't easily build a message with five emojis and copy it all at once.
  • It doesn't help at all if you're on a shared or locked-down computer.

For quick replies it's fine. For anything else, I end up on a website.

What a good emoji site should do

After trying a bunch of them, I wrote down what I actually want:

  1. One tap to copy. No popups, no "are you sure," no signup.
  2. Search by name or feeling. I rarely remember the official name. I remember that I want something that looks "nervous but trying to smile."
  3. Skin tone control that sticks. Pick it once and keep it.
  4. A message box. Tap a few emojis, see them in a row, copy the whole thing.
  5. Big enough to tap. Emoji grids on small screens can be painful.
  6. Up to date. New emoji versions come out every year and plenty of sites lag behind.

Most sites do two or three of these. Very few do all six.

One I've been using

Emojella covers most of that list. It has all 1,923 standard Unicode emojis (Emoji 18.0), split into the usual groups like smileys, animals, food, travel, objects, symbols, and flags.

A few things I liked after using it for a while:

  • You tap an emoji and it's copied. That's it.
  • There's a message box at the bottom. You tap a few emojis, and it builds the message for you. There is also undo and clear.
  • You can change the grid size (S, M, L, XL). I use L on my phone.
  • Skin tone is a single setting for people and hands.
  • Your preferences are saved locally in the browser, so there is no account.
  • Each emoji has its own page with the meaning, the shortcode, and PNG or SVG downloads.

That last one is handy for developers. If you need the shortcode for a README or a Slack bot, you can grab it right there. And the SVG download is useful when you want an emoji in a design without depending on whatever font the user's device has.

It also comes in a few languages, including Spanish, French, Italian, Portuguese (Brazil), and Indonesian.

A small tip for developers

If you work with emojis in code, keep these things in mind:

  • Many emojis are more than one character. A family or a profession emoji is often several code points joined together with a zero width joiner. So string.length in JavaScript can surprise you.
  • Skin tones are modifiers. The base emoji and the tone are separate code points that get combined.
  • Rendering depends on the platform. The same emoji can look quite different on Apple, Google, and Microsoft devices. Don't build a UI that depends on exact looks.
  • Use shortcodes where you can. In docs and READMEs, :fire: is safer than pasting the raw character in some tools.

If you want to test how your app handles tricky ones, grab a few from the people and flags sections. Flags are two regional indicator letters, and some are not supported everywhere. That's a quick way to find bugs.

Wrapping up

Emojis look like a tiny feature, but they touch input handling, text encoding, fonts, and UX all at once. And the simple task of copying one should not take 40 seconds.

If you have a favorite way to find and copy emojis, tell me in the comments. I'm curious what other developers use, especially on Linux, where I still haven't found a picker I love.

Top comments (0)