Yes, but only if you follow the rules. The USDA says oven sterilization is safe for jars, as long as you use the low temperature and don’t rush. It’s not a replacement for pressure canning safety, but for water-bath canning (jam, pickles, tomatoes), it works like a charm.
That said, never crank the oven above 300°F. Higher heat can cause the glass to weaken or crack. We’re canning, not making pottery. Keep it mellow, like a yoga instructor for your kitchen.
How to Oven Sterilize Canning Jars — Step-by-Step Safety Guide
Also, don’t let the jars sit in the oven for hours. You’re not slow-roasting them. Fifteen to twenty minutes is plenty. Any longer and you risk drying out the glass or making it brittle. Treat the oven like a sauna, not a crematorium.