Minecraft repairing Enchanted items

I read the wiki but I still don't quite get it. If I had a used enchanted bow, could I repair it with a new unenchanted bow and where? Same for swords.
Best Answer
You need to use an anvil and sacrifice some experience levels.
Normally what you do is put the item to be repaired in the first slot and the material its made of (iron, diamonds, etc.) in the second slot. I don't know what the material you need to use for bows is, I haven't been able to find it on the wiki. Because of that, I would combine two bows into one using the anvil, since bows are pretty cheap. At this time you could also add more enchantments to your bow by adding an enchantment to the other bow.
If you do not use the anvil, the enchantments will not be preserved. Good luck!
Pictures about "Minecraft repairing Enchanted items"



Does repairing remove enchantments?
Trivia. Working on an anvil doesn't remove enchantments to items, but they can be removed by repairing them on a crafting grid or grindstone.How do you repair items in Minecraft without losing enchantments?
When an item is enchanted on an anvil for the first time, the players will have to pay a certain amount of XP levels. However, as they start adding more enchantments to an item, the cost will begin to increase. At one point, players won't be able to repair or enchant an item as the cost will become too expensive.Does repairing enchanted items get more expensive?
To repair enchanted items in Minecraft, you will need an anvil. An anvil is used for all sorts of things. From repairing items to renaming items, check out how to rename your favorite items here. After you have repaired your item, put your repaired enchanted item back into your inventory, and you're all set.How to repair enchanted Armor and Tools - Minecraft
More answers regarding minecraft repairing Enchanted items
Answer 2
Although the other answers point you to the anvil which is a good place to be to repair your enchanted tools, there is an important missing.
Repairing your tools is expensive
You can combine multiple tools/weapons/pieces of armor on the anvil to add their durability and enchantments. But doing so increases the XP cost of future repairs. These cost quickly rise to unimaginable hights. I remember having to pay around 30 levels per tool after just a few repairs. In addition to the amount of diamonds for the tool used to repair the original. Taking into account that you want to combine enchanted tools to improve the enchantments on the first one and that combining enchantments is very expensive in XP, this way of repairing is definetly not worth it in the long run.
Mending FTW
You are definetly far better of obtaining a mending enchantment book from villagers (for example) and enchant your tool/weapon/armor at an anvil with this enchantment. Mending directly puts the XP you gather into the durability of your enchanted piece of gear. So you can repair your tools by killing mobs or smelting a lot of stuff, or however you plan to get your XP.
Mending cannot be obtained at an enchantment table, which is why I would recommend to investigate in villager trading to have them sell mending to you.
There is one exception when it comes to enchanting items with mending: A bow can only have either the enchantment "Mending" or the "Infinity" enchantment. Those are mutually exclusive.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Maria Ovchinnikova, Maria Ovchinnikova, Maria Ovchinnikova, Maria Ovchinnikova