What is binary file? - Definition from WhatIs.com
Part of the Programming glossary:

A binary file is a file whose content must be interpreted by a program or a hardware processor that understands in advance exactly how it is formatted. That is, the file is not in any externally identifiable format so that any program that wanted to could look for certain data at a certain place within the file. A progam (or hardware processor) has to know exactly how the data inside the file is laid out to make use of the file.

In general, executable (ready-to-run) programs are often identified as binary files and given a file name extension of ".bin". Programmers often talk about an executable program as a "binary" and will ask another programmer to "send me the binaries." (A synonym for this usage is object code .) A binary file could also contain data ready to be used by a program.

In terms of transmitting files from one place to another, a file can be transmitted as a "binary," meaning that the programs handling it don't attempt to look within it or change it, but just pass it along as a "chunk of 0s and 1s," the meaning of which is unknown to any network device.

This was last updated in April 2005
Contributor(s): Ryan Speirs
Posted by: Margaret Rouse

Related Terms

Definitions

  • obfuscation (obfu)

    - Obfuscation, in general, describes a practice that is used to intentionally make something more difficult to understand. In a programming context, it means to make code harder to understand or read. (SearchSoftwareQuality.com)

  • event-driven computing

    - Event-driven computing is a model in which programs perform work in response to triggering events. An event, in this context, is any detectable occurrence that has been defined as significant. Even... (WhatIs.com)

  • scripting language

    - A scripting language is a form of programming language that is usually interpreted rather than compiled. Scripting languages are typically converted into machine code on the fly during runtime by a... (SearchWinDevelopment.com)

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.