Origin To Selected is a Blender add-on from sum studio that repositions an object's origin to a selected element. It works with editable objects including mesh, curve, surface, armature, and lattice. In Edit mode, you select any vertex, edge, or face and press Shift+Q, the default shortcut, to move the origin to that point.
Two optional behaviours sit in the add-on's preferences. Auto Clear Location moves the object to the world origin by its new origin, and Auto Go to Object Mode switches to Object Mode automatically after the operation. The Shift+Q shortcut can be reassigned in preferences to fit your own key layout.
The add-on covers Blender 3.0 through 5.0, with version 1.2.0 adding compatibility for Blender 5.0. It installs from a zip file through the Add-ons tab in Blender's preferences and is released under the GPL license. Origin To Selected is listed in the superhive library.