Visual Studio Code extension that provides an editor for viewing and manipulating UF2 files.
- Open UF2 files directly with this editor
- A data inspector for viewing the hex values as various different data types
- Editing with undo, redo, copy, and paste support
- Find and replace
There are three ways to open a file in the UF2 editor:
- Right click a file -> Open With -> UF2 Editor
- Trigger the command palette (F1) -> Open File using UF2 Editor
- Trigger the command palette (F1) -> Reopen With -> UF2 Editor
The UF2 editor can be set as the default editor for certain file types by using the workbench.editorAssociations setting. For example, this would associate all files with extensions .bin to use the UF2 editor by default:
"workbench.editorAssociations": {
"*.bin": "uf2Editor.uf2edit"
},To track existing issues or report a new one, please visit the GitHub Issues page at https://github.com/carlosperate/vscode-uf2-editor/issues
This extension is a fork of the Microsoft VS Code Hex Editor. We are grateful to Microsoft and all the contributors who built the original hex editor extension that made this project possible.
MIT License - See LICENSE file for details.
Original extension work Copyright (c) Microsoft Corporation. Updated UF2 support Copyright (c) 2025 Carlos Pereira Atencio.
Fork updates can be seen with this GitHub diff.