CSS Filter Generator
Adjust filters with a live preview
Preview

filter: none;Settings
Appearance
Color
What is CSS Filter Generator?
Apply CSS filter effects to an image and copy code you can use as is. Combine blur, brightness, hue, and other effects while comparing the result with the original image.
Images are processed in your browser and are not uploaded to a server.
How to Use
- Choose a sample image, or upload a JPEG, PNG, WebP, GIF, or AVIF image.
- Adjust the filter values.
- Choose the output format and copy the generated code.
Main Settings
Presets
Presets provide ready-made combinations of filter values. Selecting one replaces every filter value with that combination and turns all filters back on, including any you had turned off. Changing a value afterward updates the output to the values you set.
Appearance
Adjust blur, brightness, contrast, and opacity. Blur softens a background; brightness and contrast adjust the overall look of a photo. Lowering opacity fades the image so text above it is easier to read.
Color
Adjust grayscale, hue rotation, invert, saturation, and sepia. Use grayscale or lower saturation to quiet the colors, or use hue rotation and sepia to change the mood.
Turning Filters On and Off
Turn each filter on or off to include or exclude it from the output. Turning a filter off keeps its value, so you can compare the result without losing your settings.
Preview
Choose a sample close to your use case. Upload your own image to check the result on the photo you will use.
Output
Choose CSS or Tailwind classes. Filters left at their default values and filters that are turned off are omitted, so the generated code contains only the changes you made. With no changes, the output is filter: none; (filter-none for Tailwind).
Use Cases
- Adjusting the mood of hero images and banners
- Fading a background image so text above it is easier to read
- Giving thumbnails or card images a consistent look
- Comparing several filter combinations during design exploration
Things to Keep in Mind
filterapplies to the element and all of its children. To filter only a background image, place the image in its own element and apply the filter there.
Last updated:

