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.
Select a local font and see all its metrics: ascent, descent, x‑height, and supported features. Typography deep dive.
Paste two strings that look the same and see if they differ after normalization. Debug invisible encoding bugs.
Load a WAV file and see its real-time oscilloscope trace and frequency spectrum. Zoom and pan. Pure frontend.
For any latitude and date, calculate the exact daylight hours. See golden hour. Useful for gardening and travel.
Calculate antenna element lengths for a given frequency (or vice versa). Supports 1/4 wave, 1/2 wave, dipole. Useful for ham radio. Local only.
Search by country or currency name to find its symbol and code. Quick static reference for international business.
Enter target total weight and bar weight to see which plates to put on each side. No more counting errors.
Enter a city name or coordinates and see today's sunrise, sunset, and twilight times. Approximate algorithm. Local.
Visually configure scroll‑snap containers and items. Adjust alignment, stop behavior, and padding. Copy the clean CSS instantly.
Convert hex, RGB, or HSL into the modern OKLCH color space. See the preview and copy CSS oklch() value. Local.
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.
Adjust opacity visually with a slider and see the different CSS representations (opacity property vs RGBA/HSLA). Copy best option.
Pick two images or colors and apply all 16 CSS mix‑blend‑mode values live. See and copy the right CSS for your design.
Design a fully styled scrollbar with colors, width, radius, and hover effects. Supports both ::-webkit‑scrollbar and Firefox scrollbar‑width.
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.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.
Paste HTML/CSS snippets or enter properties to test how z‑index and stacking contexts interact. Real‑time example.
Adjust margin, border, padding, and content sizes interactively and see the rendered box model. Get the exact CSS. Teach or learn layout.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Design a pure CSS tooltip with custom text, position (top/bottom/left/right), and arrow. Copy the clean code.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Pick an emoji and get the exact CSS content property value with escaped Unicode. For inserting emojis via CSS.
Convert multiple images to Base64 data URIs at once. Copy individually or as a JSON array. Great for inline assets. Local.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Paste a string and verify if it is valid Base64. Auto‑detects padding issues and character errors. Quick dev check.