If you need to analyze or count lines of code rather than move them, several free open-source tools are available: Move Code Lines on Steam

Note: This allows you to drag the current line or a selected block up or down instantly. Shortcut: Ctrl + Shift + Up/Down Arrow

If you are looking for a way to move lines of code in your actual programming projects, you likely already have this feature in your editor. Using these native tools is safer and more efficient than downloading third-party utilities. Windows/Linux: Alt + Up/Down Arrow macOS: Option + Up/Down Arrow