# Convert BLOCK to XREF
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [User Guide](Help%20System/GSTARCAD/2022/User%20Guide/(User%20Guide).md) → [Express tool](Help%20System/GSTARCAD/2022/User%20Guide/Express%20tool/(Express%20tool).md) → [Blocks](Help%20System/GSTARCAD/2022/User%20Guide/Express%20tool/Blocks/(Blocks).md)
The BLOCKTOXREF command is used to replace all instances of a standard block with an xref. Unbind xrefs that are bound.
BLOCKTOXREF searches the entire drawing for references to a specified block name and replaces them with an xref that you specify. You can have the unreferenced block purged when done.