Writing Mode Tester
Try horizontal-tb, vertical-rl and vertical-lr with LTR or RTL text and vertical orientation controls. Swap logical sizes, compare multiple scripts and export the CSS.
Check Logical Sizes in a Writing Mode
Writing-mode preview
Physical size 180 × 104 px
Generated stylesheet
Preview composited on white. HEX stores alpha in 8 bits; decimal alpha is retained in RGB and HSL.
#7D9065rgb(125, 144, 101)hsl(86.512 17.551% 48.039%)rgb(49.02% 56.471% 39.608%)0.4902, 0.5647, 0.3961, 1--color: #7D9065;Color names use standard CSS keywords, such as red or rebeccapurple.
Writing Mode Tester: how to use it
- Choose a writing mode, a base direction and, for vertical modes, a text orientation.
- Load a multilingual sample or type your own text. Change the font, inline and block sizes or compare all three modes.
- Copy or download the CSS for the selected mode and apply it to the target text container.
Limits and notes
Preview text is limited to 1,000 characters. Logical sizes and the font apply to the preview box. The stylesheet contains settings only and the supplied text stays on your device.
How your privacy works →Writing Mode Tester: common questions
Which size becomes the height in a vertical writing mode?
Inline size follows the lines of text, so it becomes the physical height in vertical modes. Block size becomes the physical width.
Why can text orientation change the effect of RTL?
With vertical upright text, the CSS specification uses left-to-right direction during layout even when the direction declaration is RTL. Compare with Mixed to test direction separately.
Does changing writing mode translate my content?
The browser lays out the supplied characters using the selected writing properties. Choose fonts and text suited to the intended language.