Free Fancy Text Generator Widget for Your Website
Put a working fancy text generator on your own page with two lines of code. Visitors type once and copy bold, cursive, bubble and other Unicode styles. It is free, has no signup and sets no cookies.
Definition: The CopyFont widget is a small script that adds a fancy text generator to any web page. It converts what a visitor types into Unicode styles they can copy and paste, and it runs entirely in their browser.
Live demo
This is the widget exactly as it will look on your site. Type in the box and copy a style.
How to add it
Paste these two lines where you want the widget to appear:
<div data-copyfont-widget></div> <script src="https://copyfont.com/embed.js" async></script>
That is the whole installation. The script is about 21 KB and carries all the styles with it, so it makes no other requests.
Options
Set any of these as attributes on the div.
| Attribute | What it does | Default |
|---|---|---|
| data-text | Starting text in the box | Hello world |
| data-styles | Comma separated style names to show | 12 popular styles |
| data-theme | light or dark | light |
| data-max | Maximum number of styles shown | 12 |
Example with a dark theme and three chosen styles:
<div data-copyfont-widget data-theme="dark" data-styles="Bold,Cursive Script,Bubble Text"></div>
The only rule
The widget is free for any site, personal or commercial. Keep the small credit link under it. Please do not copy the script onto your own server and remove the link.
Why you can trust it
The script runs only in the visitor's browser. It sets no cookies, loads nothing from other domains and does not send what visitors type anywhere. The styles are the same ones used by the CopyFont fancy text generator, and every style is measured in the Unicode style study, which shows which characters each style uses and which Unicode version it needs.
Frequently Asked Questions
Is the widget really free?
Yes. There is no signup, no API key and no fee. The only condition is that you keep the small credit link that sits under the widget.
Does it use cookies or track my visitors?
No. The script runs entirely in the visitor's browser, sets no cookies and sends nothing anywhere. The text a visitor types never leaves their device.
How big is the script?
The script is about 21 KB. It contains the whole style engine, so it makes no other requests.
Can I choose which styles show up?
Yes. Add a data-styles attribute with a comma separated list of style names, for example data-styles="Bold,Cursive Script,Bubble Text". The full list of 89 style names is in the Unicode style reference.
Will it work in a page builder or WordPress?
It works anywhere you can add a script tag and a div, which includes WordPress custom HTML blocks, Webflow, Wix embed blocks and plain HTML. A page builder that strips script tags will block it.
Are the styles real fonts?
No. They are Unicode characters, so what visitors copy pastes as text in most apps. Some apps and very old devices can show boxes for newer characters, which is why the Unicode style reference lists the Unicode version each style needs.