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
  • subnet (subnetwork)

    A subnet, or subnetwork, is a segmented piece of a larger network. More specifically, subnets are a logical partition of an IP ...

  • Transmission Control Protocol (TCP)

    Transmission Control Protocol (TCP) is a standard protocol on the internet that ensures the reliable transmission of data between...

  • secure access service edge (SASE)

    Secure access service edge (SASE), pronounced sassy, is a cloud architecture model that bundles together network and cloud-native...

Security
  • cyber attack

    A cyber attack is any malicious attempt to gain unauthorized access to a computer, computing system or computer network with the ...

  • digital signature

    A digital signature is a mathematical technique used to validate the authenticity and integrity of a digital document, message or...

  • What is security information and event management (SIEM)?

    Security information and event management (SIEM) is an approach to security management that combines security information ...

CIO
  • product development (new product development)

    Product development -- also called new product management -- is a series of steps that includes the conceptualization, design, ...

  • innovation culture

    Innovation culture is the work environment that leaders cultivate to nurture unorthodox thinking and its application.

  • technology addiction

    Technology addiction is an impulse control disorder that involves the obsessive use of mobile devices, the internet or video ...

HRSoftware
  • organizational network analysis (ONA)

    Organizational network analysis (ONA) is a quantitative method for modeling and analyzing how communications, information, ...

  • HireVue

    HireVue is an enterprise video interviewing technology provider of a platform that lets recruiters and hiring managers screen ...

  • Human Resource Certification Institute (HRCI)

    Human Resource Certification Institute (HRCI) is a U.S.-based credentialing organization offering certifications to HR ...

Customer Experience
  • contact center agent (call center agent)

    A contact center agent is a person who handles incoming or outgoing customer communications for an organization.

  • contact center management

    Contact center management is the process of overseeing contact center operations with the goal of providing an outstanding ...

  • digital marketing

    Digital marketing is the promotion and marketing of goods and services to consumers through digital channels and electronic ...

Close