Hex editor

PSPad primarily works with text files. The character with ASCII value 00h, is taken to be the end of the text file. That means you can't open a non-text file in the editor. PSPad also contains a HEX editor which will open the sort of files mentioned above.  

What is a HEX Editor for?  
In the Hex editor you can open any type of file and edit it byte-by-byte. Warning: You can ruin a binary file by changing a single character if you don't know what you are doing.  

How to edit any file in PSPad?  
You can open a file in PSPad's Hex Editor in a number of ways:  
·Use the 'File / Open in HEX Editor...' menu option;  
·Drag a file in to PSPad from Windows (or from PSPad's own File Explorer) or otherwise open a file and either:  
· Right-click in text area and select 'HEX Edit Mode';  
·Select the 'View / HEX Edit Mode' menu option;  
·Add the file to a project, right-click on the file and select 'Open in HEX Editor...'  
How to edit text file in HEX editor?  
With a file open, either select the 'View / HEX Edit Mode' menu option or right-click in the text edit area and select 'HEX Edit Mode'.  
Once in HEX edit mode, you can change the file by typing hexadecimal codes directly in to the Hex area on screen or my tying in to the ASCII area to the right of the screen. By default, the editor switches to overwrite mode when editing in Hex mode. Changes to the file are highlighted.  
You can toggle between HEX and text modes as often as you need.  

What you can do in Hex editor?  
·switch between overwrite and insert mode by pressing INSERT;  
·goto address - Alt+G (enter the byte address you want to go to in either decimal. To enter an address in Hex prefix the number with '$' - eg. $10 takes you to the 16th byte). Note: The byte address starts at zero, not 1;  
·Find and/or replace text or bytes - Ctrl+F;  
·Create and goto bookmarks.