Font Access API - Online Browse Local Fonts
Enumerate all fonts installed on your device and see a real‑time preview. Useful for design tools. Permission required.
UD5 Toolkit
Upload font files or paste Base64 data to generate ready-to-use CSS @font-face rules for embedding fonts directly in your stylesheets.
Drop font files here or click to browse
Supports .woff2, .woff, .ttf, .otf, .svg, .eot
You can upload multiple files of the same font family
Paste your Base64 encoded font data
Supports full data URLs (data:font/woff2;base64,...) or raw Base64 strings.
Base64 encoding converts binary font file data into a text string using 64 ASCII characters. This allows font files to be embedded directly inside CSS files as data: URLs, eliminating the need for separate HTTP requests to load font assets.
Embedding fonts in CSS reduces HTTP requests, speeds up page rendering by avoiding the font download chain, and ensures fonts work offline or in environments where external font hosting isn't available (e.g., email templates, offline web apps, AMP pages).
Base64 encoding increases file size by approximately 33%. The font data cannot be cached separately from the CSS file. For large fonts (over 500KB), this can noticeably increase CSS file size and parsing time. It's best suited for small to medium-sized font files.
This tool supports WOFF2, WOFF, TTF (TrueType), OTF (OpenType), SVG fonts, and EOT. For best browser compatibility, we recommend providing both WOFF2 and WOFF formats. Modern browsers (Chrome, Firefox, Safari, Edge) all support WOFF2.
Base64 encoding increases the binary size by roughly 33% (4/3 ratio). For example, a 100KB font file becomes approximately 133KB when Base64-encoded. Combined with Gzip compression on web servers, the actual transferred size difference is smaller — typically only 2-10% larger.
font-display and which value should I use?
font-display controls how browsers handle font loading. swap (recommended) shows fallback text immediately and swaps to the custom font when loaded. block hides text briefly. fallback gives a short block period. optional may never use the font if it loads slowly.
We recommend keeping Base64-encoded fonts under 300-500KB (original file size). For larger fonts, consider hosting them as separate files with proper caching headers. This tool will warn you when files exceed 500KB in original size.
Copy the generated @font-face rule into your CSS file (usually at the top). Then reference the font family in your styles: font-family: 'YourFontName', sans-serif;. The Base64 data is self-contained, so no additional font files are needed.
Enumerate all fonts installed on your device and see a real‑time preview. Useful for design tools. Permission required.
Use the document.fonts API to check if a font is loaded. Watch the ready promise. Avoid FOUT. JavaScript demo.
Enter a URL and extract the font stacks and web font URLs used on that page. Quick typography research.
Design a layout where nested grids share track sizes with their parent via subgrid. Copy the complete CSS.
Paste your CSS and see warnings for properties that have limited browser support. Links to CanIUse. Modernize safely.
Limit browser gestures on an element: pan‑x, pinch‑zoom, manipulation. Draw on a canvas to test. Mobile dev helper.
Create complex linear gradients with any number of color stops, exact angles, and length units. Live preview and CSS code.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Map English letters to fancy mathematical or ornamental Unicode symbols. Create Facebook/Twitter bio art. All local.
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Type any character and see how it renders in different font stacks. Detect missing glyphs and fallback behavior.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Generate a subtle noise/grain texture as a CSS background pattern. Adjust opacity and size. For that film look.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.
Upload two images and apply CSS blend modes (multiply, screen, overlay, etc.). See the result and copy the filter CSS. Pure frontend.
Create a pure CSS countdown timer with a flipping number effect. Adjust duration and style. No JavaScript needed for display.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Type a few words and see them rendered at every heading size (h1–h6) with your chosen font. Perfect for design systems.
Design a realistic neon sign text with multiple layers of glow. Copy the CSS and HTML. Perfect for headers.
A replica of the famous Flexbox Froggy game: solve alignment puzzles by writing CSS. Progress saved locally. Fun frontend learning.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Encode short audio clips into Base64 data URIs for direct embedding in HTML5 <audio> tags. No external files needed.
Recreate the target CSS linear gradient by adjusting stops and colors. A unique game for front‑end developers to master gradients.
Browse and search all Font Awesome 6 icons with preview, class name, and unicode. Copy the HTML snippet. Perfect for web developers.
Create text with a gradient fill using CSS background-clip. Configure colors and direction. Copy the code. Works in modern browsers.
Convert plain text into stylish ASCII art banners using various font styles. Copy and paste to social media or comments. Fun retro tool.
A complete, searchable list of all 140+ named HTML/CSS colors with their hex codes and color previews. Click to copy code. Essential web reference.
Visually experiment with Flexbox container and item properties. See the layout update in real time and copy the CSS. Learn by doing, fully interactive.
Minify JavaScript and CSS code to reduce file size for production. Remove whitespace and comments instantly. Run locally, your code stays private.