Any Extension for Fancy or Styled Text (Unicode Fonts)?

Hi everyone :wave:

I’ve been using PopClip for a while now and love how it makes text selection and productivity smoother.

I was wondering — is there any extension (official or custom) that converts normal text into styled or fancy Unicode fonts directly from the PopClip bar? Something similar to those “aesthetic text” generators used on social media for Instagram bios, YouTube descriptions, or nicknames in games?

If not, I’d be curious if anyone has tried building a simple custom script for this. I imagine it could integrate with an online text transformer or have built-in mappings for font styles.

Looking forward to your insights or recommendations!

Thanks :pray:


Don’t remember where I got this code from but I made myself one for Unicode Bold style some time ago. Dug this out of my extensions folder:

// #popclip
// name: Unicode Bold
// icon: square B
// language: javascript
function toBoldText(input) {
    const boldOffsets = {
        uppercase: 0x1D400 - 0x41, // Offset for A-Z
        lowercase: 0x1D41A - 0x61  // Offset for a-z
    };

    return input.split('').map(char => {
        let code = char.charCodeAt(0);

        if (code >= 0x41 && code <= 0x5A) { // A-Z
            return String.fromCodePoint(code + boldOffsets.uppercase);
        } else if (code >= 0x61 && code <= 0x7A) { // a-z
            return String.fromCodePoint(code + boldOffsets.lowercase);
        }

        return char; // Return unchanged if not A-Z or a-z
    }).join('');
}
popclip.pasteText(toBoldText(popclip.input.text));

(The above block is an extension snippet — select it then click “Install Extension” in PopClip.)

Hopefull that is a start for inspiration. (I got ChatGPT to make some remixes.)