Text to Hex Online

Input
Output
Ready

Free Online Text to Hex

This case converter transforms your text into any capitalisation style instantly. Paste or type text on the left, click a case button, and the converted result appears on the right in real time. No account, no ads, no data sent to any server.

What is a text case converter?

A case converter changes how letters are capitalised in a piece of text. Writers use it to fix inconsistent capitalisation, developers use it to reformat variable names, and designers use it to prepare display copy for headings and UI labels.

Case formats explained

UPPERCASE capitalises every letter. lowercase makes every letter small. Title Case capitalises the first letter of every word, commonly used in article titles and headings. Sentence case capitalises only the first letter of each sentence, matching standard prose style.

camelCase joins words without spaces and capitalises each word after the first, used extensively in JavaScript. PascalCase (UpperCamelCase) capitalises every word including the first, used in class names in C#, Java, and TypeScript. snake_case joins words with underscores and keeps everything lowercase, the standard style in Python. kebab-case joins words with hyphens, used in CSS and URL slugs. CONSTANT_CASE is snake_case in all-caps, used for constants.

When to use each case format

Use Title Case for blog post titles, page headings, and product names. Use Sentence case for UI labels and body copy. Use camelCase or PascalCase when naming variables and classes in code. Use snake_case for Python variables, database column names, and file names on Linux. Use kebab-case for CSS classes, HTML IDs, and URL slugs. Use CONSTANT_CASE for environment variables and configuration keys.

Frequently asked questions

What is Hexadecimal?
Hexadecimal (Hex) is a base-16 numbering system. It is commonly used in programming and web design to represent character codes and colors.
How do I convert text to Hex?
Paste your text into the input field. The tool will convert each character to its hex code (e.g., 'Hello' becomes '48 65 6c 6c 6f').
Can I convert Hex back to text?
Yes. Paste hex codes into the input, and the tool will translate them back into readable text.