How do I transfer my Xbox One Terraria worlds to PC using a USB stick?
Save files between platforms are not compatible. Generally, console and PC versions of Terraria are very different, and the console versions are often behind as well.
There used to be ways to do it between Xbox 360 and PC, which involved copying files and converting them with a tool someone made. This doesn't exist or work for Xbox One, though. Depending on what is required, you would probably be violating the Microsoft TOS concerning your Xbox One.
Also, while strictly not a duplicate (because it's the other way around), a similar question and answer are found here.