writing‑mode Demonstrator - Online Vertical Text
Display text in horizontal‑tb, vertical‑rl, vertical‑lr. See how block and inline directions switch. For multilingual sites.
UD5 Toolkit
Compare text-rendering CSS values in real-time — auto, optimizeSpeed, optimizeLegibility, and geometricPrecision.
Drag the slider or click on the divider to compare rendering modes
text-rendering property tells the browser's text layout engine how to balance speed, legibility, and geometric precision when rendering text. It's particularly important for controlling ligatures (combined character forms like fi, fl, ff), kerning (spacing between letter pairs), and overall glyph rendering quality. Originally an SVG property, it's now widely supported in CSS across all modern browsers.
optimizeLegibility for headings, body text, and any static content where readability is paramount. It enables ligatures, kerning, and sometimes advanced font features — making text look more professional and polished. This is the recommended value for most web content. However, avoid it on animating text or very large dynamic tables, as the extra processing can cause slight performance overhead. For mobile, most browsers already default to this behavior.
optimizeSpeed when rendering performance matters more than visual quality. This disables ligatures and kerning, reducing the computational work the browser needs to do. It's useful for rapidly updating text (like live tickers, real-time data feeds, or typing animations), very large data tables with thousands of text nodes, or SVG charts where text changes frequently. On modern hardware, the performance difference is often negligible for typical web pages.
geometricPrecision prioritizes exact glyph shapes and spacing over speed or legibility enhancements. The browser renders each character with precise geometric fidelity — useful in SVG graphics, CAD applications, maps, and technical illustrations where text must align perfectly with geometric elements. It disables hinting and may cause text to appear slightly thinner or less crisp on low-DPI screens. Note: browser support for this value is less consistent than for the others; test thoroughly across target browsers.
text-rendering: optimizeLegibility is a broad switch that enables ligatures and kerning. For finer control, use font-feature-settings to toggle specific OpenType features. For example, font-feature-settings: "liga" off; disables standard ligatures even if text-rendering is set to optimizeLegibility. Conversely, you can enable ligatures manually with font-feature-settings: "liga" on; even under optimizeSpeed. Think of text-rendering as a high-level preference and font-feature-settings as the precise override.
auto, optimizeSpeed, and optimizeLegibility. geometricPrecision has weaker support — it works in Chrome, Edge, and Firefox, but Safari may treat it as auto. Mobile Safari on iOS often defaults to optimizeLegibility-like behavior regardless of the declared value. For production, always test across your target browsers. A safe fallback pattern: use text-rendering: optimizeLegibility; for modern browsers and rely on auto as the default for older ones.
Display text in horizontal‑tb, vertical‑rl, vertical‑lr. See how block and inline directions switch. For multilingual sites.
Compare font‑display values (block, swap, fallback, optional) on the fly. See how text renders during web font load. Choose the right strategy.
Detect browser support for font‑tech() and font‑format() values in @font‑face src. Check COLRv1, variable, etc.
Build a multi‑layer text‑shadow to simulate 3D extruded text. Control depth, color, and direction. Copy long shadow CSS.
Place bold text over an image and apply mix‑blend‑mode: screen, multiply, etc. Create stunning hero sections. Download preview.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Change text orientation within vertical writing mode. See mixed, upright, sideways. Useful for CJK layout.
Type directly into a contenteditable div with real‑time CSS filters, shadows, and colors. Download as HTML. Fun demo.
Stack multiple text‑shadows to create a blurred, glowing gradient effect. Copy the long‑shadow CSS instantly.
Create a 3D extruded text effect using multiple text‑shadows. Adjust depth, color, and perspective. Ready‑to‑use CSS.
Enter a URL and extract the font stacks and web font URLs used on that page. Quick typography research.
Create color gradients that are perceptually uniform by interpolating in CIELAB space. Get the CSS linear‑gradient code. Visually superior.
Design a realistic neon sign text with multiple layers of glow. Copy the CSS and HTML. Perfect for headers.
Paste or write a CSS gradient value and instantly see the rendered output. Debug and iterate on gradients quickly. Local preview.
Transform normal text into vaporwave fullwidth Aesthetic characters. Includes zalgo and other styles. Copy ready for social posts. Local tool.
Create text with a gradient fill using CSS background-clip. Configure colors and direction. Copy the code. Works in modern browsers.
Type text and set a gradient, then check contrast against a solid background. Ensure readability.
Create a multi‑line text truncation using the standard line‑clamp property. Choose lines. Copy the clean CSS.
Enter a URL and fetch its Twitter card meta tags. See a live preview of how the tweet will appear. Debug social sharing.
Analyze letter/symbol frequency with an interactive bar chart and heatmap. Useful for breaking simple ciphers, linguistics, and SEO keyword analysis. Local processing.
Animate text that looks like it's being decoded or scrambled before settling on the final word. Copy the JS snippet.
Create CSS `easing‑gradient()` functions for smooth, non‑linear color transitions. Experimental and powerful. Copy the code.
Paste multiple HTML snippets (header, footer) and a main content, then combine them into a single preview. Static site helper.
Visually create beautiful linear and radial gradients. Get the CSS code instantly. Copy the code or export as image. Perfect for web designers.
Create shareable quote images. Choose background gradient or photo, add text, and download as PNG. Fully local design tool.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Enter a URL and get a rough client-side performance simulation: request count, DOM size, and potential speed tips. No real Lighthouse.
Layer gradients and images and blend them with background‑blend‑mode. Create hero sections. Copy CSS.
Drag a slider to compare your original image with a compressed version (e.g., WebP). See the quality difference and file size savings.
Inject dynamic messages into ARIA live regions and monitor how they trigger screen reader announcements. Debug a11y.