dxf to gltf conversion describes the export of 2D CAD DXF content to a 3D model saved in GL Transmission Format. Blender can work with GLTF format and is probably the most convenient tool how to approach this conversion, but it's probably not just straight conversion and you have to work on the 2D/3D model a bit before you can export it as .gltf file.
Updated: September 18, 2023