CSS Unit Converter
Free CSS unit converter for px, rem, em, pt, %, vw, vh, and ch. Set your root and element font-size and viewport, then convert between every CSS unit live.
Visually build a CSS filter value with sliders and a live preview, apply preset looks, and copy the code, free and entirely in your browser.
The CSS Filter Generator is a free visual tool that builds the CSS filter property for you. You drag sliders for blur, brightness, contrast, grayscale, hue-rotate, invert, opacity, saturate, sepia, and drop-shadow, watch a sample image and a sample UI card update in real time, then copy the exact CSS you need. The filter property applies graphical effects like blurring or color shifting to any element, so it works on photos, icons, buttons, and whole cards alike.
Everything runs client-side in your browser, so nothing you adjust is uploaded or stored. You can even drop in your own image to preview how a look reads on real content, and the file never leaves your device.
filter declaration with its -webkit-filter fallback, or Download a ready-made class.The filter property accepts one or more filter functions applied left to right, written as filter: contrast(160%) brightness(90%) saturate(130%);. Each function takes an amount: percentages for tonal and color effects, pixels for blur(), degrees for hue-rotate(), and a full shadow definition for drop-shadow(). Because the functions stack in order, the same set of values can produce very different results depending on their sequence.
Unlike box-shadow, the drop-shadow() filter follows the actual alpha shape of an element, so a transparent PNG or an irregular icon casts a shadow that hugs its outline instead of its rectangular box. That single difference is why designers reach for filters when styling logos and cut-out images.
Filters are best when you want to transform how an element looks — recoloring, fading, or blurring it — rather than change its layout. For decorative backgrounds you would build a color blend with the CSS Gradient Generator, and for a soft box around a card you would use the CSS Box Shadow Generator instead of the drop-shadow filter. When you need motion, pairing a filter with the CSS Animation Generator lets you animate a hover blur or a color-shifting glow over time.
filter value with a -webkit-filter fallback, or download a reusable class.Filters interact with an element's existing colors, so the same hue-rotate can land very differently depending on your source palette. When you want a filter to hit an exact target tone, sample the original color first with the Image Color Picker, then match your drop-shadow or backdrop hue precisely using the HTML Color Picker. Keep grayscale and sepia moderate on photos of people, since pushing them to 100% can flatten skin tones, and remember that stacking heavy blur over large areas is the most expensive filter to render.
It applies graphical effects such as blur, color shifting, brightness, and shadows to an element and its contents. You list one or more filter functions, each with an amount, and the browser applies them in order to produce the final rendered look.
Write several filter functions separated by spaces inside a single filter declaration, for example filter: grayscale(100%) contrast(120%). The browser applies them left to right, so changing the order can change the result. This tool assembles the combined value for you automatically.
The drop-shadow() filter follows the actual alpha shape of an element, so transparent PNGs and irregular icons cast a shadow that hugs their outline. box-shadow always draws around the element's rectangular box and offers spread and inset options that drop-shadow does not.
Yes. Drop an image onto the preview area or click to upload one, and the filter applies to it live. The file is read locally in your browser with JavaScript and is never uploaded or stored on any server.
The -webkit-filter prefix is a legacy fallback for older Safari and Chrome versions that shipped filters before the standard was finalized. Modern browsers use the unprefixed filter property, but including both keeps your CSS compatible with the widest range of devices.
Yes. The filter property is supported in every modern browser, including Chrome, Firefox, Safari, and Edge, so the CSS you copy works reliably. The added -webkit-filter fallback extends support to a few older builds.