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.
Load a WAV file and see its real-time oscilloscope trace and frequency spectrum. Zoom and pan. Pure frontend.
Apply a fisheye or barrel distortion to your photo with adjustable strength. Simulate extreme wide angle.
A random note name appears; click the correct position on the bass fretboard. Beat your time and accuracy.
Enter a date and location (or use GPS) to see exact golden hour and blue hour times for perfect natural light.
A random note appears on the grand staff; click the correct piano key. Improve sheet music reading. Multiple clefs.
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.
Design a fully styled scrollbar with colors, width, radius, and hover effects. Supports both ::-webkit‑scrollbar and Firefox scrollbar‑width.
Create CSS clamp() values for fluid typography. Enter min and max font sizes and viewport widths. Modern responsive design.
Create CSS mask‑image effects with custom shapes, gradients, and SVGs. Visually see the mask applied to an image. Copy the CSS.
Paste your CSS and sort the properties of each rule alphabetically or by concentric groups. Keep your stylesheets consistent without a build step.
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.
Write a media query and instantly see if it matches your current viewport. Width, height, orientation, and more.
Paste your CSS and strip all `!important` declarations in one click. See a list of affected rules. Local tool.
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.
Design a pure CSS tooltip with custom text, position (top/bottom/left/right), and arrow. Copy the clean code.
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.
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.
Paste or write a CSS gradient value and instantly see the rendered output. Debug and iterate on gradients quickly. Local preview.
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.