Flat Case Converter — Free Online Tool
What is Flat Case Converter?
Flat Case (flatcase) converts all text to lowercase with no separators at all, producing a single continuous string like thisisflat case. No spaces, hyphens, underscores, or dots remain — just a compact block of lowercase characters.
While it sacrifices readability, it is used for npm package names, Golang package names, some URL schemes, and any context where a minimal, separator-free identifier is required.
When to use Flat Case Converter?
Use flatcase for npm package names, Golang package names (which must be a single lowercase word), some database table naming conventions, and very short identifiers where separators add unnecessary length. It is best for one- or two-word identifiers where readability is not a concern.
For longer phrases, consider Camel Case which retains readability or Snake Case which keeps words visually separated.
How to use this tool
- 1Paste your text
- 2Click 'Convert' to get flatcase
- 3Copy the compact identifier
Flatcase works best for short identifiers (one or two words). For longer phrases, the lack of separators makes the output difficult to parse visually.
Examples
| Input | Output |
|---|---|
| Hello World | helloworld |
| my variable name | myvariablename |
| background-color | backgroundcolor |
| User Account | useraccount |
| api_key_value | apikeyvalue |
Rules & Behavior
- All characters are converted to lowercase. Every letter in the output is a small letter, matching the convention for package names and minimal identifiers.
- All separators are removed — no spaces, hyphens, underscores, or dots remain. Words are concatenated directly to form a single continuous string.
- Only letters (a–z) and numbers (0–9) are kept in the output. All punctuation and special characters are stripped during conversion.
Related Tools
Frequently Asked Questions
What is flatcase?
Flatcase is a naming convention where all words are joined together in lowercase with no separators at all, forming a single continuous string like helloworld or mypackage. It is the most compact naming style and is used when brevity is more important than readability.
When is flatcase used?
Golang package names must be a single lowercase word (flatcase). npm package names are often flatcase. Some database naming conventions and URL shorteners use it. It is best suited for very short identifiers where adding separators would be unnecessary overhead.
Is flatcase hard to read?
Yes. Without any separators or capitalisation cues, flatcase sacrifices readability for compactness. It works well for short identifiers (one or two words) but becomes difficult to parse with longer phrases. For readable alternatives, use Camel Case or Kebab Case.
How is it different from camelCase?
camelCase uses capital letters to mark word boundaries (helloWorld), making it readable even without separators. Flatcase has no such markers (helloworld), so word boundaries are invisible. camelCase is the better choice whenever readability matters.
Does it remove numbers?
No, numbers (0–9) are preserved in the flatcase output. Only spaces, hyphens, underscores, dots, and special characters are removed. The result contains lowercase letters and numbers only.