Free Online Tool
Snake Case Converter
Convert text to snake_case with this free Snake Case Converter. Turn normal text, camelCase, PascalCase and kebab-case into snake_case instantly.
Snake Case Converter
Use this free Snake Case Converter to convert regular text, camelCase, PascalCase, or kebab-case into snake_case instantly.
Snake case writes words in lowercase and joins them with underscores.
For example:
Input: hello world example
Output: hello_world_example
How to Convert Text to Snake Case
To convert text to snake_case:
- Paste or type your text into the input box.
- The tool converts the text into snake_case automatically.
- Review the converted result.
- Copy the result or download it as a
.txtfile. - Use Clear when you want to convert different text.
What Is Snake Case?
Snake case, commonly written as snake_case, is a naming convention where words are written in lowercase and separated by underscores.
For example:
Normal text: user account settings
snake_case: user_account_settings
The underscores make individual words easy to identify without using spaces.
Convert Text to snake_case
You can convert ordinary spaced text directly into snake_case.
For example:
Input: free online text tools
Output: free_online_text_tools
The spaces are replaced with underscores and the words are converted to lowercase.
Convert camelCase to snake_case
The converter can transform camelCase text into snake_case.
For example:
Input: userAccountSettings
Output: user_account_settings
Capital-letter word boundaries are separated with underscores and converted to lowercase.
Link Camel Case Converter here.
Convert PascalCase to snake_case
PascalCase can also be converted into snake_case.
For example:
Input: UserAccountSettings
Output: user_account_settings
Link Pascal Case Converter here.
Convert kebab-case to snake_case
The tool can also change hyphen-separated text into snake_case.
For example:
Input: user-profile-settings
Output: user_profile_settings
Hyphens are replaced by underscores and the resulting words use lowercase letters.
Link Kebab Case Converter here.
Snake Case vs. Camel Case
Snake case and camel case represent multiple words differently:
snake_case: my_example_text
camelCase: myExampleText
Snake case separates words with underscores, while camelCase removes separators and capitalizes subsequent words.
Snake Case vs. Pascal Case and Kebab Case
The same text can be represented in several common formats:
snake_case: my_example_text
PascalCase: MyExampleText
kebab-case: my-example-text
Use the format appropriate for the system, code, identifier, or structured text you’re working with.
Common Uses for Snake Case
Snake case is commonly used for identifiers and structured text in programming, data, configuration, file naming, databases, and other technical contexts.
For general capitalization changes such as uppercase, lowercase, Title Case, and Sentence case, use the Case Converter.
Link Case Converter here.
Private Browser-Based Snake Case Converter
Your text is processed directly in your browser. You don’t need to create an account or upload a document.
Paste your text, convert it to snake_case, copy or download the result, and clear the input when you’re finished.
Questions
Frequently asked questions
What is a Snake Case Converter?
A Snake Case Converter turns text into snake_case, where words are written in lowercase and separated by underscores.
Is my text uploaded anywhere when I use Snake Case Converter?
Paste or type your text into the converter. The tool automatically formats the words in lowercase and separates them with underscores.
Can I convert camelCase to snake_case?
Yes. For example, userAccountSettings becomes user_account_settings.
Is my text uploaded or stored?
No. Your text is processed directly in your browser and does not need to be uploaded.
Can I convert PascalCase to snake_case?
Yes. For example, UserAccountSettings becomes user_account_settings.
Keep going
Related tools
Title Capitalization Tool
Capitalize titles with this free Title Capitalization tool. Format important words and common minor words correctly for clear, consistent titles.
Case Converter
Convert text to uppercase, lowercase, Title Case, Sentence case or toggle case with this free online Case Converter. Fast and private in your browser.
Camel Case Converter
Convert text to camelCase with this free Camel Case Converter. Turn normal text, snake_case and kebab-case into camel text instantly in your browser.
Pascal Case Converter
Convert text to PascalCase with this free Pascal Case Converter. Turn normal text, snake_case and kebab-case into PascalCase instantly in your browser.
Handy to know
Popular tools
Explore the rest of the toolbox
121 free browser-based text tools — no sign-up, nothing ever uploaded.
View all tools