Personal project
Prewty Text Generator
Built a browser-based text converter with 25 Unicode styles, including script, fraktur, Zalgo and upside-down text. Added categorized live previews and one-click copying with a clipboard fallback.
Prewty Text Generator
- Type text
- Unicode styles
- Copy & paste
Overview
Built a browser-based text converter with 25 Unicode styles, including script, fraktur, Zalgo and upside-down text. Added categorized live previews and one-click copying with a clipboard fallback.
Implementation
Implemented Unicode character maps, combining-mark effects and custom text transformations in vanilla JavaScript, updating results as the user types. Used Array.from() to handle surrogate pairs in character mapping and the Clipboard API with a legacy copy fallback. The HTML, CSS and JavaScript app runs directly in the browser without a build step.
- 25 styles across Classic, Nerd, Enclosed, Text Effects and Aesthetic categories
- Character mapping and combining-mark transformations produce copyable Unicode text
- Instant previews with a separate copy button for each style
- Responsive interface built with HTML, CSS and vanilla JavaScript