Skip to content

indielucas/text-formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Formatter

A powerful online text formatting tool built with pure front-end technologies. Perfect for formatting text for Facebook, LinkedIn, Discord, and other platforms.

Features

  • Monaco Editor Integration: Professional code editor with syntax highlighting

  • Text Formatting Functions:

    • Add line numbers
    • Remove empty lines
    • Join lines into single line
    • Remove whitespace
    • Remove emojis
    • Add current date
    • Convert to UPPERCASE
    • Convert to lowercase
    • Convert to Sentence case
    • Convert to Title Case
  • Real-time Preview: See changes instantly

  • Undo/Redo: Up to 50 steps of history (stored locally)

  • Copy Functionality: One-click copy to clipboard

  • Privacy-First: All processing happens locally in your browser

Tech Stack

  • Pure HTML, CSS, JavaScript
  • Tailwind CSS for styling
  • Monaco Editor for text editing
  • Local Storage for history management

Deployment

This is a static website that can be deployed on:

  • Cloudflare Pages
  • Netlify
  • GitHub Pages
  • Any static hosting service

File Structure

text-formatter/
├── index.html          # Main page
├── privacy.html        # Privacy policy page
├── terms.html         # Terms of service page
├── script.js          # Main functionality
├── logo.png           # Logo image
├── favicon.png        # Favicon
└── README.md          # This file

Getting Started

  1. Clone or download the project files
  2. Open index.html in a web browser
  3. Start formatting your text!

Privacy & Security

  • All text processing happens locally in your browser
  • No data is sent to any servers
  • History is stored only in your browser's local storage
  • Your text content remains completely private

Browser Compatibility

  • Chrome (recommended)
  • Firefox
  • Safari
  • Edge

License

This project is open source and available under the MIT License.

About

Format your text for Facebook, LinkedIn, Discord and more with our powerful online text formatting tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •