Where do you put the inverter? Near the battery or near the load?
AC is better on long distance.

It's not that AC on it's own is better. It's that the AC is higher voltage / lower current so that losses are less.

So I was thinking converting to AC then just convert again to DC.

You might get better efficiency by stepping up to a higher voltage DC and stepping down again at the load.