About AG Case
Real-time case and text-format converter
AG Case is a free tool that converts text into the many naming conventions (cases) commonly used in coding and writing, all at once. Whether you are renaming variables, functions, files or constants, or tidying up title formatting in a document, you get the format you want with a single copy and paste.
Supported formats (12)
- UPPERCASE · lowercase · Title Case · Sentence case
- camelCase · PascalCase — variable and class names
- snake_case · CONSTANT_CASE — Python variables and constants
- kebab-case · Train-Case — URLs, CSS and file names
- dot.case · path/case — namespaces and paths
Privacy
Every conversion happens entirely inside your browser. The text you enter is never sent to or stored on a server, and it works even while you are offline.
Features
- 12 formats produced at once from a single input
- One-click copy from each result card
- Line-by-line conversion with line breaks preserved
- Live character, word and line counts, dark mode
- No signup · completely free
Frequently Asked Questions
What is the difference between camelCase and PascalCase?
camelCase starts the first word in lowercase and capitalizes the first letter of each following word (myVariableName). PascalCase capitalizes the first letter of every word (MyVariableName). camelCase is typically used for variables and functions, while PascalCase is used for classes and types.
When should I use snake_case, kebab-case, or CONSTANT_CASE?
snake_case is common for Python variables and database columns, kebab-case for URLs, CSS classes and file names, and CONSTANT_CASE (upper snake case) for constants and environment variable names.
Is my text sent to a server?
No. Every conversion runs entirely in your browser, and no data is ever sent to or stored on a server. It even works while you are offline.
Can I convert multiple lines at once?
Yes. Paste multiple lines and each line is converted individually while line breaks are preserved. It is handy for renaming a whole list of identifiers at once.