Text whitespace remover
World's simplest text tool
World's simplest browser-based utility for removing all whitespace from text. Load your text in the input form on the left and you'll instantly get text with all whitespace deleted in the output area. Powerful, free, and fast. Load text – get text without whitespace. Created by devs for devs.
Text whitespace remover tool What is a text whitespace remover?
With this tool you can delete whitespace symbols from the given text. You can do it using three whitespace removal modes, each of which is responsible for different symbols. In particular, the first option removes only space characters, and nothing else. The second option removes all space and tab characters, and the third removes all spaces, tabs, newlines, and other types of whitespaces (such as vertical tabs). Textabulous!
Text whitespace remover examples Click to use
Delete Only Regular Spaces
In this example, we clear a text about dogs from all spaces using remove-all-spaces option. As you can see, all newlines were left intact.
Dogs were domesticated from wolves as recently as 15,000 years ago. Dogs, like humans, are highly social animals. They are very playful, friendly and easily trained. Dogs can differ in appearance, character, behavior, and size. Today there are about 138 officially recognized dog breeds.
Dogsweredomesticatedfromwolvesasrecentlyas15,000yearsago. Dogs,likehumans,arehighlysocialanimals. Theyareveryplayful,friendlyandeasilytrained. Dogscandifferinappearance,character,behavior,andsize. Todaythereareabout138officiallyrecognizeddogbreeds.
Clear text from all spaces.
Remove Spaces and Tabs
In this example, we use remove-all-spaces-and-tabs option to delete all spaces and tabs from a fragment of Metallica's song Enter Sandman. It contains spaces, tabs and newlines but as we use the second option, the newlines remain unchanged.
Exit, light Enter, night Take my hand We're off to never-never land
Exit,light Enter,night Takemyhand We'reofftonever-neverland
Clear text from all spaces and tabs.
Delete All Whitespace
This example enables the third option that removes absolutely all whitespaces (spaces, tabs, newlines) from a cute phrase that the penguin says in cartoon Madagascar.
Just smile and wave,boys. Smile and wave.
Clear text from all spaces, tabs and newlines.
Pro tips Master online text tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
All text tools
Quickly split text into chunks.
Quickly merge lines of text together.
Quickly repeat text many times.
Quickly write text backwards.
Quickly cut text to the given length.
Quickly trim left or right side of text.
Quickly pad the left side of text.
Quickly pad the right side of text.
Quickly align text to the right side.
Quickly center text.
Quickly prepend a prefix to text.
Quickly append a suffix to text.
Quickly delete all blank lines from text.
Quickly return text lines that match a string or a regex.
Quickly find and replace text patterns.
Quickly count the number of characters in text.
Quickly create an image from text.
Quickly construct a palindrome from plain text.
Quickly test if text is a palindrome.
Quickly convert text letters to uppercase.
Quickly convert text letters to lowercase.
Quickly randomize character case in text.
Quickly invert character case in text.
Quickly replace spaces with newlines in text.
Quickly replace newlines with spaces in text.
Quickly get tabs instead of spaces in text.
Quickly get spaces instead of tabs in text.
Quickly clear text from spaces, tabs, and newlines.
Quickly clear text from dots, commas, and similar characters.
Quickly convert text to a JSON string.
Quickly write the text in Morse code.
Quickly decode Morse code to plain text.
Quickly URL-escape text.
Quickly URL-unescape text.
Quickly convert plain text to HTML entities.
Quickly convert HTML entities to plain text.
Quickly encode text to base64.
Quickly decode base64-encoded text.
Quickly convert plain text to binary text.
Quickly convert binary text to plain text.
Quickly convert plain text to octal text.
Quickly convert octal text to plain text.
Quickly convert text to decimal values.
Quickly convert decimal values to text.
Quickly convert plain text to hexadecimal values.
Quickly convert hexadecimal to readable text.
Coming soon These text tools are on the way
Calculate Levenstein Distance
Find Levenstein distance of two text fragments.
Create a list of all words in text.
Lemmatize all words in text.
Generate Text Bigrams
Create a list of all 2-grams.
Generate Glitch Text
Let Zalgo mess up your text.
Escape special symbols in text with slashes.
Remove slashes from previously slash-escaped text.
Generate Random Text
Generate text using random words.
Generate Text from a Regular Expression
Create text that matches the given regexp.
Format text using the printf or sprintf function.
Flip text between horizontal and vertical positions.
Convert Text to Code Points
Convert text characters to their corresponding code points.
Convert Code Points to Text
Convert numeric character code points to text.
Extract Text from JSON
Extract all textual data from a JSON data structure.
Extract Text from HTML
Extract all textual data from HTML code.
Extract Text from BBCode
Extract all textual data from BBCode markup.
Extract Text from XML
Extract all textual data from a XML document.
Convert CSV to Text Columns
Convert CSV data to plain text columns.
Convert Text Columns to CSV
Convert plain text columns to a CSV file.
Generate Text Unigrams
Create a list of all monograms.
Generate Text Trigrams
Create a list of all 3-grams.
Generate Text N-grams
Create a list of all n-grams.
Stem Words in Text
Apply stemming to all words in text.
Convert Text to Title Case
Convert words in text to have title case.
Convert Text to Proper Case
Capitalize the first letter of every word in text.
Stretch spaces between words in text to make all lines equal length.
Apply formatting and modification functions to text.
Find the Number of Letters in Text
Count the number of letters in text.
Find the Number of Words in Text
Count the number of words in text.
Find the Number of Lines in Text
Count the number of lines in text.
Fine the Number of Paragraphs in Text
Count the number of paragraphs in text.
Sort Letters in Text
Sort all characters in text alphabetically.
Sort Words in Text
Sort all words in text alphabetically.
Sort Sentences in Text
Sort all sentences in text alphabetically.
Sort Paragraphs in Text
Sort all paragraphs in text alphabetically.
Statistical Text Analysis
Analyze text for most frequent letters, words, phrases, sentences and paragraphs.
Add Text Line Numbers
Add a number before every line in text.
Wrap words in text to a specified length.
Shuffle Letters in Text
Randomize the order of letters in text.
Shuffle Words in Text
Randomize the order of all words in text.
Shuffle Sentences in Text
Randomize the order of all sentences in text.
Shuffle Paragraphs in Text
Randomize the order of all paragraphs in text.
Extract Regular Expression Matches from Text
Find and return all regexp matches.
Find All Email Addresses in Text
Extract all emails from text.
Find All Web Addresses in Text
Extract all URLs from text.
Find All Numbers in Text
Extract all numbers from text.
Cyclically rotate text letters to the right or left.
Apply ROT13 algorithm to text.
Apply ROT47 algorithm to text.
Encode Text to Punycode
Convert text to punycode.
Decode Punycode to Text
Convert punycode to text.
Convert Text to Base32
Encode text to base32 encoding.
Convert Base32 to Text
Decode base32-encoded text.
Convert Text to Base58
Encode text to base58 encoding.
Convert Base58 to Text
Decode base58-encoded text.
Convert Text to Base85
Encode text to Ascii85 encoding.
Convert Base85 to Text
Decode Ascii85-encoded text.
Encode text to UTF8 encoding.
Decode UTF8-encoded text.
Encode text to UTF16 encoding.
Decode UTF8-encoded text.
Encode text to UTF32 encoding.
Decode UTF32-encoded text.
Encode text to IDN.
Decode IDN-encoded text.
Convert text to Unix-to-Unix encoding.
Decode Unix-to-Unix-encoded text.
Convert text to Xxencoding.
Decode Xxencoded text.
Convert Text to Quoted Printable
Encode text to QP encoding.
Convert Quoted Printable to Text
Decode QP-encoded text.
Strip HTML Tags from Text
Remove all HTML tags from Text.
Strip XML Tags from Text
Remove all XML tags from Text.
Convert Text to HTML Entities
Encode all text characters to HTML entities.
Remove Diacritics from Text
Remove all accent marks from all characters in text.
Normalize Text Spacing
Remove duplicate spaces from text.
Find diff between two text fragments.
Create Text Typos
Generate various text typos.
Create a Mirror Copy of Text
Generate a mirror reflection of text.
Grep text for regular expression matches.
Extract first lines from text.
Extract last lines from text
Rewrite text using transformation rules.
Subscribe! Never miss an update
Notifications We'll let you know when we add this tool