DEV Community

Cover image for I Built a Simple Tool to Clean Messy Text in Seconds
narayan
narayan

Posted on

I Built a Simple Tool to Clean Messy Text in Seconds

Have you ever copied text from a PDF, website, or document and ended up with something like this?

Hello     world


This is   some messy text.

This line is repeated.
This line is repeated.
Enter fullscreen mode Exit fullscreen mode

Those small formatting problems can become annoying when you're working with a lot of text.

So I built a small tool to make cleaning it easier.

Meet FastTextCleaner

FastTextCleaner is a free browser-based tool for cleaning and formatting messy text.

You can paste your text, choose what you want to remove, and clean it instantly.

It currently supports:

  • Removing extra spaces
  • Removing blank lines
  • Trimming lines
  • Removing duplicate lines
  • Copying cleaned text with one click

Try it here:

https://fastextcleaner.com/

Why I built it

I wanted something simple.

Sometimes you don't need a complicated text-processing application. You just want to paste some messy text, clean it, and continue working.

No account.
No installation.
Just:

Paste → Clean → Copy

A simple example

Before:

FastTextCleaner     is a simple tool.


It helps clean      messy text.


FastTextCleaner     is a simple tool.
Enter fullscreen mode Exit fullscreen mode

After cleaning:

FastTextCleaner is a simple tool.
It helps clean messy text.
Enter fullscreen mode Exit fullscreen mode

Everything happens in the browser

FastTextCleaner processes the text directly in the browser, so you can use it without creating an account or uploading your text to a server.

Who might find it useful?

It can be useful for:

  • Developers
  • Students
  • Writers
  • Content creators
  • Researchers
  • Anyone who frequently works with copied text

It's a small project, but I built it to solve a simple problem that comes up surprisingly often.

If you have a minute, try it out:

https://fastextcleaner.com/

I'd love to hear what other text-cleaning features would be useful.

Top comments (2)

Collapse
 
muhammadmurtuzahussain profile image
Muhammad Murtuza Hussain •

did you buy the domain?

Collapse
 
narayan007 profile image
narayan •

yes