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 stock unit of numerical data that can contain various types of information, such as text, images, videos, etc.
All numerical/informatic data is stocked with a suite of 0 and 1. A file is container of binary data.
From a sequence of raw data, it is possible to recreate a file.
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 storage is in binary format, but the data is represented differently to the display on a screen to make it a little more readable by a human.
Example: A file containing a byte 01000001 will be represented differently depending on its purpose (or extension)
Text files are usually ASCII encoded, and binary data corresponding to letters, numbers, or printable characters are displayed with the corresponding symbol on the screen.
Example: 01000001 will be represented by the letter A (ASCII code)
Non-text files (executable, compressed, etc.) are stored in binary and can not be read with numbers or letters, often the hexadecimal format is used to represent the binary content faster. The hexadecimal format allows to display with 2 characters one byte (thus 8 bits), which represents a significant visual gain of space.
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 like Creative Commons). 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.
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 2025-04-15,