They are different if you like sci-fi and dislike fantasy which OP apparently does as do I, on the grand scheme of things not a big deal but it does get in the way when specifically looking for new sci-fi to read.

To be fair, that's a subjective difference in opinion, not an objective difference in type. Many people like "hard" sci-fi but not "soft" sci-fi, but that doesn't make them fundamentally distinct genres.

By the numbers, Star Wars is far more grounded as science fiction that Star Trek, but people will insist the former is at best merely "science fantasy." It's really all just vibes.

> By the numbers, Star Wars is far more grounded as science fiction that Star Trek, but people will insist the former is at best merely "science fantasy." It's really all just vibes.

The best rage bait I've seen in years.

Search your heart, you know it to be true.

Of course Star Trek has its implausible moments (planets where everyone acts like Romans, or 1920s gangsters, and the like), but the Star Wars "Force" is literally magic, and the heroes are fighting an Emperor who is very little different from someone like Sauron. The only reason why it is isn't considered fantasy are the space ships.

>but the Star Wars "Force" is literally magic

Sure, the Jedi are "magic." But that's one magic element in a universe that's otherwise grounded in science fiction elements. Aliens. Spaceships. Robots. I'll see you the Jedi and raise you Trelane, the Q, the Douwd, the Traveller and a dozen other aliens that are no less "magic." Or in the case of the Q, far more magic than the Jedi.

The Jedi are telepaths (which Trek also has) and telekinetics (which Trek also has) and can predict the future (which exists in Trek.)

And they connect to a mystical all-encompassing energy force... which, ok. Trek doesn't have that. Oh wait they do, it's called "subspace."

And the entire Trek universe runs on fantastical nonsense. None of the physics is actual physics, it's subspace and technobabble. The galaxy is surrounded by a mystical barrier and God lives in the middle of it. There are wild magic fields in space that can do literally anything, and one has a face. You can travel back in time if you go around the sun fast enough like Superman. If Star Trek is science fiction, where is the science?

To say one is fantasy and the other isn't is simply a matter of taste.

>and the heroes are fighting an Emperor who is very little different from someone like Sauron

If your complaint is that Star Trek doesn't feature a single, universal villain... fair, but that isn't a fantasy only thing, science fiction has plenty of Big Bad Evil Guys. If it's that Star Wars' villains are just broad caricatures MF the Klingons are literally Space Mongols. Romulans are Space Romans. Cardassians are Space Nazis. Ferengi are Space Jews. The Borg Queen is basically Sexy Sauron.

You could take the spaceships away from Star Trek and map many Star Trek races to a common fantasy race archetype. Vulcans are elves, Romulans are Dark Elves, Klingons are Orcs, Ferengi are Dwarves or Goblins, Cardassians are snake people from the desert and the Borg are insect people.