What does Merge Words do?
Merge Words takes a list of words separated by spaces and joins them into a single string with no spaces in between. You paste the text, the tool removes the spaces, and you get a continuous run of characters back. Optionally, you can pick what to do with the casing — keep it as-is, lowercase everything, or apply camelCase or PascalCase to the joined result.
Paste in "hello world today" and the tool returns "helloworldtoday". Paste in "new york pizza company" and you get "newyorkpizzacompany". Switch to camelCase mode and the same input becomes "newYorkPizzaCompany". The result updates as you type, there's no signup, nothing to install, and your text never leaves your browser.
When you'll use it
Squashing spaces out of text sounds trivial until you realize how often you need to do it. A short list of the moments:
- Building hashtags. A hashtag can't contain spaces. "pay day" becomes #payday by merging the words; "throwback thursday" becomes #throwbackthursday. The same input typed into Instagram or X without merging would only catch the first word as a tag and ignore the rest.
- URL slugs (the no-hyphen kind). Most slugs use hyphens, but some sites — old forums, certain CMSes, internal tools — prefer running the words together. "about us" becomes "aboutus".
- Preparing camelCase or PascalCase variable names. You've named a feature "user profile settings" in a doc; the code needs userProfileSettings or UserProfileSettings. The merge step is the first move; the casing handles the rest.
- Filename cleanup. Some systems hate spaces in filenames. A file called "Q3 sales report final.pdf" becomes "Q3salesreportfinal.pdf" — uglier to read, but it works everywhere.
- Reading a brand name. Companies often run words together for their brand: YouTube, PayPal, AirBnB, FaceTime, OnlyFans, MasterCard. If you've got the descriptive phrase and want to see what the brand-style version looks like, this is the fastest way.
- Crossword and word-puzzle prep. Some clues are multi-word answers written without spaces in the grid. Merging the phrase shows you what you'll be writing.
- Domain name brainstorming. Domains don't take spaces. Typing "red book reviews" and seeing "redbookreviews" tells you instantly whether the visual result is readable or a mess.
- Stripping accidental spaces. Sometimes you've pasted text from a source that added a space between every letter — old OCR output is famous for it. Merging collapses the spaces and gives you the actual word back.
The thing about merged words is that the result can be readable or unreadable depending on the input. "helloworld" reads fine. "adsareeverywhere" needs a second look — is that "ads are everywhere" or "adsa reev erywhere"? The tool doesn't try to make that judgment; it just gives you the squished version so you can decide whether it works.
How the merge works
Merge Words runs entirely in your browser using JavaScript. There's no server call, no upload, no copy of your text saved anywhere. The moment you close the tab, the input and output are gone — safe for any kind of text, including drafts, names, or anything you wouldn't paste into a random third-party site.
The basic operation is straightforward: every whitespace character — space, tab, line break — is removed from the input. What's left is everything else, in the order it appeared. The four modes determine what happens to the casing:
- Plain merge. Spaces gone, casing untouched. "Hello World Today" becomes "HelloWorldToday". "hello WORLD today" becomes "helloWORLDtoday".
- Lowercase merge. Spaces gone, every letter forced to lowercase. "Hello World Today" becomes "helloworldtoday". The hashtag-builder default.
- camelCase merge. First word lowercase, every following word capitalized, no spaces. "user profile settings" becomes "userProfileSettings". The JavaScript-variable-name default.
- PascalCase merge. Every word capitalized, including the first, no spaces. "user profile settings" becomes "UserProfileSettings". The class-name and React-component default.
Each mode is non-destructive — your original input stays in the input field, you can switch modes to compare outputs, and the copy button hands you the version you want.
A worked example: from a marketing brief to a hashtag
You're prepping a social campaign. The creative director writes the campaign name in a slack message:
Summer of Citrus Drinks
You need three things from that phrase:
- A hashtag for Instagram and TikTok.
- A camelCase variable name for the marketing dashboard.
- A URL slug for the landing page.
Drop the phrase into Merge Words. Lowercase merge gives you "summerofcitrusdrinks" — the hashtag is #summerofcitrusdrinks. Readable, lowercase, no surprises.
Switch to camelCase and you get "summerOfCitrusDrinks" — that's the dashboard variable. Drop it into the analytics config and move on.
For the URL slug, you actually want hyphens, not a merged word — so this tool isn't the right one for that step. Send the original phrase to the Case Converter and pick kebab-case to get "summer-of-citrus-drinks".
One brief, three formats, two clicks each. The whole point is to skip the "type it out by hand and squint at the result" step.
Merge styles compared
Here's how the same input renders in each mode. Useful for picking the right one for your destination.
| Mode | Input: "hello world today" | Input: "new york pizza company" | Typical destination |
|---|---|---|---|
| Plain merge | helloworldtoday | newyorkpizzacompany | Brand name, hashtag, domain check |
| Lowercase merge | helloworldtoday | newyorkpizzacompany | Hashtag, case-insensitive ID |
| camelCase | helloWorldToday | newYorkPizzaCompany | JavaScript variables, JSON keys, method names |
| PascalCase | HelloWorldToday | NewYorkPizzaCompany | Class names, React components, type names |
Why hashtags love merge. A hashtag like #payday is one tag, indexed once. The same words posted as #pay #day are two separate tags — neither connected to "payday" the concept. Merging is what makes the tag findable. Instagram and X both parse hashtags up to the first whitespace, so anything after a space gets dropped from the tag entirely.
Tips and tricks
A few things that catch people off guard:
- Numbers come along. Digits aren't whitespace, so they stay where they are. "top 5 movies of 2024" becomes "top5moviesof2024". Useful when you want a year or a number tucked into the merged result.
- Punctuation is preserved. Apostrophes, commas, periods, exclamation marks — all survive the merge. "it's friday!" becomes "it'sfriday!". If you don't want the punctuation, strip it first with a find-and-replace or the Whitespace Remover won't help here (it handles spaces, not symbols).
- Multi-byte characters work. Emoji, accented letters, non-Latin scripts all survive. "café au lait" becomes "caféaulait". "hello 你好 world" becomes "hello你好world".
- Line breaks count as whitespace. Paste a list with one word per line and the result is the same as if you'd separated them with spaces. The tool doesn't care which kind of whitespace it's removing.
- camelCase only knows what you tell it. The tool capitalizes the first letter of each word after the first one. If your input is already camelCase or has odd internal capitals ("iPhone Pro"), the result may not be what you expect — "iPhoneePro" isn't right. Lowercase the input first, or use plain merge and adjust by hand.
Merge Words vs. Case Converter
The Case Converter does more, but takes more clicks. Here's how to choose.
Reach for Merge Words when:
- You only need spaces gone, with optional simple casing on top.
- The destination is a hashtag, a brand check, or a simple variable name.
- You want one paste, one click, one copy.
Reach for Case Converter when:
- You need kebab-case ("my-variable-name") or snake_case ("my_variable_name") — both keep separators between words.
- You want Title Case or Sentence case with spaces preserved.
- You need to convert between existing cases — "myVariableName" to "my_variable_name", for instance.
The two tools cover different chunks of the same problem. Merge Words is the fastest path to "no spaces, please." Case Converter is the bigger toolbox.
Related text tools
Merge Words is part of a small family of text cleaners. All of them follow the same rules: paste text, pick a mode, get instant output, no signup.
- Case Converter — handle every casing variant: UPPERCASE, lowercase, Title Case, sentence case, camelCase, PascalCase, snake_case, kebab-case.
- Whitespace Remover — strip all whitespace, including tabs and weird Unicode spaces. The bigger hammer when you want every space gone.
- Line Break Removal Tool — for flattening multi-line text into a single line. Often the first step before a merge.
- Text Repeater — repeat a string N times. Combine with a merge for pattern generation.
- Character Counter — count the result. Useful when the merged version needs to fit a domain limit (63 characters) or a username cap (15 on X, 30 on Instagram).
If you're going from a paste with messy whitespace, the typical flow is: Whitespace Remover first (normalize), then Merge Words (squash), then Character Counter (check the length).
Frequently asked questions
Is my text stored anywhere?
No. Merge Words runs entirely in your browser using JavaScript. Your text never reaches any Microapp server. Closing the tab clears everything from memory, including the input, output, and any intermediate states.
How is this different from just deleting spaces in a text editor?
For a single short phrase, it isn't very different — you could do the same job with find-and-replace. The tool earns its keep when you want optional casing on top (camelCase, PascalCase, lowercase) or when you're processing pasted text that contains tabs, line breaks, and other invisible whitespace. The tool handles all of them in one go, which find-and-replace usually can't.
Will it break apart already-merged words?
No. The tool only removes whitespace; it doesn't try to detect word boundaries in already-joined strings. If you paste "helloworldtoday", the output is the same string. If you want to split a merged string back into words, you'd need a different tool — and frankly, for ambiguous cases like "adsareeverywhere", even a smart splitter has to guess.
Does it preserve numbers and punctuation?
Yes. The tool only removes whitespace characters. Digits, punctuation, accented letters, emoji, and non-Latin scripts all stay exactly where they were. If you also want punctuation gone, strip it first with a find-and-replace, then run the result through Merge Words.
What's the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter and capitalizes each following word: userProfileSettings. PascalCase capitalizes the first letter too: UserProfileSettings. JavaScript and many languages use camelCase for variables and functions, PascalCase for classes and types. React components are PascalCase by convention. If you're not sure which one your code wants, check an existing example in the file.
Can I undo a merge?
The tool can't — it has no idea where the spaces used to go. Once the words are joined, the boundaries are gone. If you're worried about losing the original, keep the input field open: it stays exactly as you pasted it until you change the text or close the tab.
Why does my hashtag still look broken on Instagram?
Instagram parses hashtags up to the first space, the first #, or certain special characters. If the merged result includes punctuation (an apostrophe, a hyphen, a period), the tag may stop at that character. Strip the punctuation before merging if you want the whole phrase to be one tag.