Tool to create or read a file from binary / octal / decimal / hexadecimal data, ie. the creation/generation of any file from any data format.
File Creation - dCode
Tag(s) : Informatics
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A file is a unit of digital data storage, recorded on a medium (hard drive, SSD, USB flash drive, etc.) and managed by a file system.
A file contains a finite sequence of bits, that is, values ​​of 0 and 1. A file (text, image, sound, video, program) is therefore a container of binary data.
From a sequence of bits, it is possible to create a file by writing this data onto a storage medium.
Example: The sequence of binary characters 01000001 (8 bits size or 1 byte) can be written to a file.
The process of creating a file is managed by the operating system, the action of generating a file generally takes 3 steps: opening the file, writing the file, closing the file.
Data is stored in binary, but it is interpreted and displayed using an encoding or format to be understandable to the user.
If a file contains the byte 01000001, its decimal value is 65. In ASCII encoding, the number 65 corresponds to the letter A. The display therefore depends on a lookup table between numbers and characters.
Text files use an encoding (ASCII, UTF-8, etc.) to associate numbers with characters visible on the screen.
Non-text files (executables, compressed files, images, etc.) also contain bits, but their interpretation requires specialized software. When displayed in a text editor, they often appear unreadable because the bytes do not correspond to printable characters. The hexadecimal format is a practical representation of binary. A hexadecimal digit corresponds to 4 bits, and thus a byte (8 bits) is represented by two hexadecimal digits.
Example: 01000001 will be represented by the hexadecimal code 0x41
dCode retains ownership of the "File Creation" source code. Any algorithm for the "File Creation" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "File Creation" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "File Creation" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "File Creation" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: File Creation on dCode.fr [online website], retrieved on 2026-03-17,