Browse Definitions :
Definition

Extended Binary Coded Decimal Interchange Code (EBCDIC)

What is Extended Binary Coded Decimal Interchange Code (EBCDIC)?

Extended Binary Coded Decimal Interchange Code (EBCDIC) is an eight-bit encoding scheme that standardizes how alphanumeric characters, punctuation and other symbols are interpreted by a computer's operating system (OS) and applications. The encoding scheme is typically referenced by the EBCDIC acronym, which is pronounced either "ehb-suh-dik" or "ehb-kuh-dik."

EBCDIC was developed by IBM in 1963 to complement the punched cards used for storage and data processing in the early days of computing. Although punched cards are now obsolete, the encoding scheme itself is still used today, primarily in IBM mainframe and midrange computers running the IBM Z/OS or IBM I operating systems. Some third-party systems also use the EBCDIC standard, such as Fujitsu Siemens mainframe computers running the BS2000 OS.

EBCDIC is similar to the American Standard Code for Information Interchange (ASCII) encoding scheme, although the two are incompatible. Because ASCII has become such a widely accepted standard, it is now used more extensively than EBCDIC. Operating systems that support EBCDIC invariably support ASCII as well, along with Unicode.

photo of IBM System Z mainframe computer
Figure 1. EBCDIC encoding is primarily used today in IBM mainframe and midrange computers running the IBM Z/OS or IBM I operating systems.

EBCDIC code pages

The EBCDIC encoding scheme is defined through multiple code pages that each map out a character set to meet specific requirements. A code page is identified through its Coded Character Set Identifier (CCSID). The page can contain up to 256 characters, with each character represented by an 8-bit binary value (a string of eight 0s or 1s). The first four bits indicate the type of character -- such as letter, number or symbol -- and the last four bits uniquely identify the character for the specific type.

CCSID 37 EBCDIC character set
Figure 2. Character set defined in EBCDIC code page used in Canada and the United States.

Each hexadecimal value in the EBCDIC character set has an equivalent binary value. The binary equivalent of the hex value A7 is 1010 0111. The first four bits, 1010, are equivalent to the hex value A and indicate that the character is a lowercase letter or some type of special character. Lowercase letters might also start with the binary value 1000 (hex 8) or 1001 (hex 9).

The second four bits for the letter x are 0111. This value is unique within the group of characters that start with 1010 (hex A), but it is not unique across the entire code page. For example, the uppercase P has a binary value of 1101 0111 (hex D7). Its last four binary digits are the same as the letter x.

The characters in an EBCDIC code page can also be represented by the decimal values 0 to 255. For example, the decimal value for the lowercase x is 167 and for the uppercase P is 215. Figure 3 shows a sample of characters in the CCSID 37 code page, along with their binary, decimal and hexadecimal equivalents.

CCSID 37 characters with their binary, decimal and hex equivalents
Figure 3. Sample of CCSID 37 code page characters with their binary, decimal and hexadecimal equivalents.

Although EBCDIC code pages are still in use, most of today's computers rely primarily on ASCII and Unicode encoding schemes, which have their own sets of codes pages. EBCDIC code pages are not compatible with other types of codes pages. Figure 4 lists several of the differences between EBCDIC and ASCII encoding. For example, EBCDIC assigns the binary value 1100 0001 (hex C1) to the uppercase letter A, and ASCII assigns the binary value 0100 0001 (hex 41).

table showing some EBCIDC and ASCII ecoding
Figure 4. Several of the differences between EBCDIC and ASCII encoding.

Because different encoding schemes exist, it is sometimes necessary to convert code files from one scheme to another. Such conversions can be done using specialized conversion software or services. For instance, vEdit offers both conversion software and conversion services, and Microsoft's Azure Logic App makes it possible to convert EBCDIC to ASCII. In addition, Z/OS UNIX can automatically convert data from ASCII to EBCDIC.

See how to convert binary to decimal and vice versa, and learn about binary-coded decimal and how it is used.

This was last updated in August 2023

Continue Reading About Extended Binary Coded Decimal Interchange Code (EBCDIC)

Networking
  • SD-WAN security

    SD-WAN security refers to the practices, protocols and technologies protecting data and resources transmitted across ...

  • net neutrality

    Net neutrality is the concept of an open, equal internet for everyone, regardless of content consumed or the device, application ...

  • network scanning

    Network scanning is a procedure for identifying active devices on a network by employing a feature or features in the network ...

Security
CIO
  • strategic management

    Strategic management is the ongoing planning, monitoring, analysis and assessment of all necessities an organization needs to ...

  • IT budget

    IT budget is the amount of money spent on an organization's information technology systems and services. It includes compensation...

  • project scope

    Project scope is the part of project planning that involves determining and documenting a list of specific project goals, ...

HRSoftware
  • director of employee engagement

    Director of employee engagement is one of the job titles for a human resources (HR) manager who is responsible for an ...

  • digital HR

    Digital HR is the digital transformation of HR services and processes through the use of social, mobile, analytics and cloud (...

  • employee onboarding and offboarding

    Employee onboarding involves all the steps needed to get a new employee successfully deployed and productive, while offboarding ...

Customer Experience
  • chatbot

    A chatbot is a software or computer program that simulates human conversation or "chatter" through text or voice interactions.

  • martech (marketing technology)

    Martech (marketing technology) refers to the integration of software tools, platforms, and applications designed to streamline ...

  • transactional marketing

    Transactional marketing is a business strategy that focuses on single, point-of-sale transactions.

Close