CSS Text Transform Generator
Generate CSS text-transform rules (uppercase, lowercase, capitalize, full-width, full-size-kana) with a live, language-aware preview, a side-by-side comparison of every value and the converted plain text.
Input
Case rules depend on language. Browsers read it from the lang attribute.
All-caps text reads better with a little extra tracking.
Output
Your transformed text will appear here.
More ways to use this tool
REST API
curl -X POST https://api.iotools.cloud/v1/tool/css-text-transform-generator \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Swap in your own key from your account. The tool's fields are the body — no wrapper.
Ask an AI agent
Use the IOTools `css-text-transform-generator` tool (CSS Text Transform Generator) on this input:
YOUR_INPUT_HEREPaste this at any agent connected to the IOTools MCP server, then add your input.
Embed widget
<iframe
src="https://iotools.cloud/embed/css-text-transform-generator/"
width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
title="CSS Text Transform Generator — iotools.cloud"
sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
allow="clipboard-write"
style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>Drop this into your own page — free, no key required, just a link back.
| Cost per API/MCP call | From 5 credits |
|---|---|
| Need more credits? | View pricing |
Also available with
Guides
The CSS text-transform property changes how text is cased on screen without changing the text in your HTML. This generator builds the rule, previews it in the language you choose, compares every value side by side, and gives you the converted text as plain characters.
How to use it
- Type or paste sample text. Mixed case and accented letters show the differences best.
- Pick a
text-transformvalue. The preview updates as you change it. - Set the language. Case rules depend on the
langattribute, so pick the language your page is written in. - Add letter spacing if you use
uppercase. All-caps text is easier to read with about0.05emto0.1emof extra tracking. - Copy the output: the declaration, a full CSS rule, the HTML, or the transformed plain text.
text-transform values
| Value | What it does |
|---|---|
uppercase |
Converts every letter to upper case |
lowercase |
Converts every letter to lower case |
capitalize |
Upper-cases the first letter of each word and leaves the other letters alone |
full-width |
Swaps characters for their full-width forms so Latin text lines up with CJK text |
full-size-kana |
Turns small kana (ァ, っ) into full-size kana, useful for ruby text that's too small to read |
none |
Shows the text exactly as written |
Why the language matters
The same CSS gives different results in different languages:
- Turkish and Azerbaijani have a dotted and a dotless i.
uppercaseturnsiintoİ, andlowercaseturnsIintoı. - Dutch treats
ijas one letter, socapitalizeturnsijsselmeerintoIJsselmeer. - German
ßbecomesSSin upper case. - Greek drops accents when text is upper-cased.
Set lang on the <html> element or the container, as the HTML snippet does, so browsers apply the right rules.
Things to know
capitalizedoesn't lower-case anything. "iPHONE" becomes "IPHONE", not "Iphone". For true title case, change the text itself with the Title Case Converter.- Copy and paste keeps the original text. Browsers copy the source characters, not the transformed ones. Use the "Transformed text" output when you need the converted characters.
- Screen readers read the source text. Some read all-caps words letter by letter, so write content in normal case and use
uppercasefor styling.
To change the case of text directly, use the Case Converter. For spacing between letters and lines, see the CSS Text Spacing Generator.
Privacy
Everything runs in your browser. Your text is never uploaded.