Edit Anything

Professional text and hex editing
with Binary Templates technology.

010 Editor - Text/Hex Editor Homepage

Templates are meant only to parse a binary file and cannot modify the data file they are run on (however, Templates can be allowed to read from or write to other files using Permissions). To edit the variables defined from the template, use either the Template Results panel or a script. When a variable is declared in a Template, it is mapped to a set of bytes in the file. Reading the variable causes bytes in the file to be read, and assigning to the variable causes the bytes of the file to be modified.

Scripts have access to any of the variables declared in the Template and can use '.' to access data in structures. For example, using the template:

    struct myStruct {
        int a;
        int b;
        int c;
    } s1, s2;

a script could be written to swap the a variables:

    int temp;
    temp = s1.a;
    s1.a = s2.a;
    s2.a = temp;

Note that there is no special syntax to use; a Script can automatically access any Template variable if the Script is run after the Template is run. For a list of other special keywords that can be used while editing Template variables with a Script, see Special Keywords. Using a combination of Templates and Scripts provides a powerful method of editing binary files.

This is the manual for 010 Editor, a professional hex editor and binary file editor. Use 010 Editor to edit the individual bytes of any binary file, hard drive, or process on your machine. 010 Editor contains a whole host of powerful analysis and editing tools, plus Binary Templates technology that allows any binary format to be understood.