Dirt is a basic block found abundantly in most biomes under a layer of grass blocks at the top of the Overworld. It can be mined quickly with any tool or with a player's hand. Dirt is useful for creating structures and is often used as a filler block in construction. It can also be tilled with a hoe into farmland, to grow various crops. However, it has low blast resistance and can be easily destroyed by explosions.
The numerical item ID for Dirt is 3
Numerical item IDs will only work in Minecraft versions below 1.13.
The item ID for Dirt is minecraft:dirt
This is the spawn command to give yourself Dirt in Minecraft which includes the Minecraft /give command. If you are using the Essentials plugin you will need to use /minecraft:give instead of /give