CSS Filter Generator
Move the sliders and both the preview and the filter code update together.
Your text and files never leave your browser — nothing is sent to a server.
Drop a file here or click to choose
CSS code
How to use
- A sample picture is loaded. To use your own image, drop it into the box below.
- Move a slider or choose a preset and the effect applies right away. Settings left at their defaults are omitted from the code.
- Press and hold “Hold to see original” to compare with the unfiltered image.
- Copy the CSS code, or in supported browsers press “Download” to save a PNG with the filter applied.
FAQ
Does the order of filter functions matter?
Yes. Filters are applied from left to right, so changing the order changes the result. This tool always writes them in the same order.
How is drop-shadow different from box-shadow?
box-shadow draws a shadow around the element’s rectangular box, while drop-shadow follows the actual visible shape and skips transparent areas. It is ideal for transparent PNGs and icons.
Why is there no Download button?
It is hidden in browsers that don’t support canvas filters, such as some versions of Safari. You can still copy and use the CSS code.
Related tools
All tools
Unit Converters
- Unit Converter
- Temperature Converter
- Weight Converter
- Area Converter
- Length Converter
- Angle Converter
- Calorie Converter
- Data Size Converter
- Dry Volume Converter
- Electric Charge Converter
- Energy Converter
- Flow Rate Converter
- Force Converter
- Fuel Economy Converter
- Luminous Intensity Converter
- Magnetomotive Force Converter
- Power Converter
- Pressure Converter
- Radiation Dose Converter
- Speed Converter
- Time Unit Converter
- Volume Converter