You can get XP very fast in Minecraft by combining a few high-yield methods: efficient mob or Enderman farms, villager trading halls, and high‑throughput mining or smelting setups, especially in the Nether and Deep Dark.

Quick Scoop

  • Build a simple mob or Enderman XP farm for constant XP while mostly standing in one spot.
  • Trade in bulk with librarians, fletchers, and farmers for big XP bursts plus useful gear.
  • Mine high‑XP ores like quartz in the Nether and sculk in the Deep Dark for super fast mid‑game levelling.

Fastest XP Methods Right Now

  • Enderman / mob farms
    • An optimized Enderman farm near the End void can get you to level 30+ in around a minute thanks to high spawn rates and quick kills.
* Simple spawner‑based mob grinders (zombie/skeleton) use water, fall damage, and a kill chamber to funnel mobs to you for easy XP and mob drops.
  • Villager trading halls
    • Trading sticks with fletchers, paper and books with librarians, or crops with farmers gives repeatable XP while also unlocking enchanted books and gear.
* Combining trading with an iron or crop farm lets you convert passive resources directly into XP and emeralds over time.

Mining And Sculk Speed‑Levelling

  • Nether mining
    • Mining quartz ore in the Nether gives frequent, chunky XP orbs and is one of the fastest early‑to‑mid game ways to level, especially with an efficient pickaxe.
* Nether gold ore also grants XP on mining or smelting, so strip‑mining tunnels in safe regions stacks levels quickly while gathering resources.
  • Deep Dark sculk farming
    • Breaking sculk blocks generated by a sculk catalyst yields XP, and the catalyst itself drops a big XP payout when mined, especially with fast hoes.
* Clearing sculk carpets and veins in large Deep Dark caverns can turn into a rapid XP run if you disable shriekers first to avoid summoning the Warden.

Smelting, Enchanting, And “XP Banking”

  • High‑volume furnaces
    • Smelting large batches of items (ores, food, cactus, etc.) in furnaces or blast furnaces stores XP, then gives you a lump sum when you pull items out.
* Auto‑smelters with hoppers let you leave the system running, then “cash out” by taking items from the output slot for a burst of XP.
  • Grindstone disenchanting & bottles
    • Disenchanting unwanted enchanted items on a grindstone returns some XP, effectively letting you recycle mistakes or loot into levels.
* Bottles o’ Enchanting from trades or loot give quick XP boosts and are handy to stockpile for mid‑game enchanting or repairs.

Survival vs Commands And Late‑Game Bursts

  • Boss fights & achievements
    • Killing the Ender Dragon or Wither grants a large one‑time XP burst, useful as a late‑game top‑up before major enchanting sessions.
* Chasing challenging in‑game advancements naturally feeds you XP as you explore, fight, and farm different mobs and structures.
  • XP commands (for creative / admins)
    • In worlds where cheats are enabled, experience commands let you add, set, or query XP and levels directly for testing and map‑making.
* Java editions support syntax like `experience add <target> <amount> levels|points`, while Bedrock uses shorter `xp <amount>[L] <player>` style commands. 

Bottom note: Information gathered from public forums or data available on the internet and portrayed here.