🚀 Live Demo - txt.prasidhshetty.in
Transform your typed text into realistic handwriting images. Customize fonts, paper sizes, spacing, colors, and add drawings. Perfect for assignments, notes, and documents.
- Custom Handwriting Fonts - Upload your own handwriting font or choose from built-in options
- Multiple Fonts & Colors in Same Page - Mix different fonts, colors, and styles (bold, italic, underline) in a single document
- Multiple Paper Sizes - A4, Fiction Novel, Digest, Trade Paperback, US Letter
- Advanced Drawing Tool - Draw diagrams with pen, eraser, shapes, spray, and more with full touch support
- Full Customization - Adjust font size, ink color, spacing, margins, and line styles
- Text Style Options - Apply bold, italic, and underline formatting to specific text segments
- Multiple Export Options - Download as individual images or combined PDF
- Dark Mode - Beautiful dark interface for comfortable use (default theme)
- Fully Responsive - Works perfectly on desktop, tablets, and mobile devices
- Real-time Preview - See changes instantly before generating
Visit txt.prasidhshetty.in and start converting text immediately.
- Fork this repository
- Go to Settings → Pages
- Select branch (main) and deploy
- Your site will be live at
https://yourusername.github.io/handwriter/
# Clone the repository
git clone https://github.com/Prasidhpshetty7/handwriter.git
cd handwriter
# Install dependencies
npm install
# Start local server
npm run dev
# Open http://localhost:5000- Enter Text - Type or paste your text in the input area
- Customize - Adjust font, size, spacing, paper size, and colors
- Mix Styles - Change fonts, colors, or apply bold/italic/underline at any point while typing
- Each text segment keeps its own formatting
- Old text remains unchanged when you modify settings
- Create documents with multiple fonts and colors on the same page
- Add Drawings (Optional) - Click "Draw" to add diagrams or illustrations
- Generate - Click "Generate Image" to create handwriting pages
- Download - Save individual images or download all as PDF
- Create a font from your handwriting using Calligraphr
- Upload the .ttf or .otf file using "Upload your handwriting font" button
- Your text will now appear in your personal handwriting style
- Type some text with the current font and color
- Change the font, color, or toggle bold/italic/underline
- Continue typing - new text uses the new settings
- Previously typed text keeps its original formatting
- Mix as many different styles as you want on the same page
- HTML5 Canvas - For rendering and drawing
- html2canvas - Convert DOM to canvas images
- jsPDF - Generate PDF documents
- Vanilla JavaScript - No framework dependencies
- CSS3 - Modern styling with dark mode support
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Report bugs or suggest features in the Issues section.
This project is licensed under the MIT License - see the LICENSE file for details.
This project was inspired by Saurabh Daware's text-to-handwriting. The concept has been enhanced with additional features including an advanced drawing tool, multiple paper sizes, dark mode, and improved customization options.
Prasidh P Shetty
- Website: prasidhshetty.in
- Twitter: @shettyprasidh7
- GitHub: @Prasidhpshetty7
Made with ❤️ by Prasidh P Shetty
⭐ Star this repo if you find it useful!
