Inkscape
How to flatten ai file?
Step 1: Use the Selection tool (V), click and drag to select all layers. Step 2: Go to the overhead menu, click Object > Flatten Transparency. Step 3: Now you’ll see a pop-up flatten transparency setting box. Change the setting accordingly.