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
  • local area network (LAN)

    A local area network (LAN) is a group of computers and peripheral devices that are connected together within a distinct ...

  • TCP/IP

    TCP/IP stands for Transmission Control Protocol/Internet Protocol and is a suite of communication protocols used to interconnect ...

  • firewall as a service (FWaaS)

    Firewall as a service (FWaaS), also known as a cloud firewall, is a service that provides cloud-based network traffic analysis ...

Security
  • identity management (ID management)

    Identity management (ID management) is the organizational process for ensuring individuals have the appropriate access to ...

  • fraud detection

    Fraud detection is a set of activities undertaken to prevent money or property from being obtained through false pretenses.

  • single sign-on (SSO)

    Single sign-on (SSO) is a session and user authentication service that permits a user to use one set of login credentials -- for ...

CIO
  • change management

    Change management is a systematic approach to dealing with the transition or transformation of an organization's goals, processes...

  • IT project management

    IT project management is the process of planning, organizing and delineating responsibility for the completion of an ...

  • chief financial officer (CFO)

    A chief financial officer (CFO) is the corporate title for the person responsible for managing a company's financial operations ...

HRSoftware
  • core HR (core human resources)

    Core HR (core human resources) is an umbrella term that refers to the basic tasks and functions of an HR department as it manages...

  • HR service delivery

    HR service delivery is a term used to explain how an organization's human resources department offers services to and interacts ...

  • employee retention

    Employee retention is the organizational goal of keeping productive and talented workers and reducing turnover by fostering a ...

Customer Experience
  • 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.

  • customer profiling

    Customer profiling is the detailed and systematic process of constructing a clear portrait of a company's ideal customer by ...

Close