Text Corruptor

Add realistic random errors and typos to any text. Control error intensity and types to simulate human mistakes, test spell checkers, or create corrupted text effects.

runs locally on your browser. Your data never leaves your device.

Common Use Cases

Generate test data to evaluate the accuracy of a spell checker or autocorrect algorithm
Create robust training datasets for machine learning models by adding realistic noise
Test fuzzy search functionality in a database or application with misspelled keywords
Simulate messy, human-generated input to verify form validation logic

About Text Corruptor

Text corruption is surprisingly useful. While most tools focus on cleaning or formatting text, intentionally introducing errors has several practical applications in software development, machine learning, and design.

For developers building spell checkers, autocorrect systems, or search engines with fuzzy matching (like Elasticsearch or Algolia), you need test data that contains realistic human mistakes. If your search engine can't find "restaurant" when a user types "restarant", you need to know that beforehand. Generating these typos manually is tedious and rarely covers the true variety of human error.

In machine learning, "data augmentation" is a common technique used to make natural language processing (NLP) models more robust. By training models on text that contains typos, missing letters, and grammatical errors, the models learn to handle messy, real-world input without failing. It's the same principle as training self-driving cars with images of obscured stop signs.

This tool lets you introduce 8 distinct types of errors: from simple mechanical typos (swapping adjacent keys) and missing letters, to more cognitive errors like homophone substitution (replacing "their" with "there") and transposed words. You can control the intensity from a subtle 1 (occasional mistakes) to a chaotic 10 (barely readable). All processing happens instantly in your browser, generating a unique variation every time you click Regenerate.

Frequently Asked Questions

How does the intensity slider work?
The intensity slider controls the probability of an error occurring. At intensity 1, an error has roughly a 1% chance of being applied at each valid opportunity (each character or word). At intensity 10, the probability increases significantly, resulting in heavily corrupted, often barely legible text. The exact number of errors depends on the length of your input and the types of errors enabled.
What are homophone substitutions?
Homophones are words that sound the same but have different meanings and spellings, like 'their', 'there', and 'they\'re', or 'affect' and 'effect'. This is one of the most common cognitive typos humans make. When this error type is enabled, the tool will randomly replace common words with their homophones.
Why would I want to corrupt my text?
The most common use cases are testing software. If you're building a fuzzy search feature, you need to test it with misspelled queries. If you're training an NLP model, adding random noise helps prevent overfitting. Some users also use it for creative writing or to bypass overly aggressive automated content filters by introducing subtle variations.
Are the errors completely random?
Yes. Every time you type, change a setting, or click Regenerate, the tool uses a random number generator to decide where and which enabled errors to apply. Even with the exact same input and settings, you will get a different output each time.
Is my text sent to a server?
No. All text processing and error generation runs locally in your browser using JavaScript. Your input text never leaves your device.