You could do something quick'n'dirty in Perl:

$ perl -alne 'print join " ", map { ord $_ } split //, . > 1' datafile
67 65 83 83 78 83 68 82 84 89 71 68 78 69 81 70 70
67 65 84 83 83 86 76 84 81 81 69 84 81 89 70
67 65 83 83 83 82 71 76 65 78 84 81 89 70
67 65 83 83 76 71 84 65 76 78 84 69 65 70 70
67 65 83 83 82 82 72 76 71 78 84 71 69 76 70 70
67 65 83 83 69 71 82 83 78 81 80 81 72 70

However if you are already processing the data in R, then you should consider using its native utf8ToInt as described here R: How to convert characters into ASCII code?

Answer from steeldriver on askubuntu.com
🌐
Online String Tools
onlinestringtools.com › convert-string-to-ascii
Convert a String to ASCII Code – Online String Tools
Free online string to ASCII converter. Just load your string and it will automatically get converted to ASCII codes. There are no intrusive ads, popups or nonsense, just a string to ASCII converter. Load a string, get ASCII bytes.
🌐
Duplichecker.com
duplichecker.com › text-to-ascii.php
Text to ASCII | Text to ASCII converter Free online Tool.
Text to ASCII Conversion is no more complicated with this free online tool. Just paste Text value and get your ASCII Code.
Discussions

Convert string to ASCII value python - Stack Overflow
How would you convert a string to ASCII values? For example, "hi" would return [104 105]. I can individually do ord('h') and ord('i'), but it's going to be troublesome when there are a lo... More on stackoverflow.com
🌐 stackoverflow.com
Function to convert ASCII to a string

I'm a little confused by what you are trying to show here. What is the content of $ascii?

A sequence of ASCII-encoded characters is already a string...in ASCII encoding. Are you trying to change encodings?

More on reddit.com
🌐 r/PowerShell
12
12
September 30, 2016
coverting string to ascii value in Matlab
the function str2double converts ... it will convert '1.2' into the double 1.2, but it has nothing to do with character codes. If the string does not contain a valid number representation then str2double returns NaN (and in your example 'a' is definitely not a valid representation of a number). The documentation explains the correct way to get character codes here in quite a lot of detail and with plenty of examples too: https://www.mathworks.com/help/matlab/matlab_prog/unicode-and-ascii-value... More on mathworks.com
🌐 mathworks.com
1
0
October 29, 2020
How do I convert a list of ascii values to a string in python? - Stack Overflow
I've got a list in a Python program that contains a series of numbers, which are themselves ASCII values. How do I convert this into a "regular" string that I can echo to the screen? More on stackoverflow.com
🌐 stackoverflow.com
🌐
Online String Tools
onlinestringtools.com › convert-ascii-to-string
Convert ASCII Code to a String – Online String Tools
Quickly convert a string to ASCII codes. ... Quickly convert ASCII codes to a string.
🌐
GeeksforGeeks
geeksforgeeks.org › dsa › print-given-sentence-equivalent-ascii-form
Print given sentence into its equivalent ASCII form - GeeksforGeeks
Take each character of the sentence at a time, subtract NULL character to it and explicitly typecast the result ... Following the above steps, we can achieve the equivalent ASCII form of a given sentence/string.
Published   February 8, 2024
Find elsewhere
🌐
Browserling
browserling.com › tools › text-to-ascii
Text to ASCII Code Converter - Chars to ASCII Numbers - Online - Browserling Web Developer Tools
World's simplest online string to ASCII converter for web developers and programmers. Just paste your text in the form below, press the Convert to ASCII button, and you'll get ASCII values. Press a button – get ASCII.
🌐
Text Compare
textcompare.io › string-to-ascii-converter
String to ASCII Converter Online
The String to ASCII Converter is a handy tool designed to transform your everyday words into a numeric adventure, encoding them into ASCII values for various purposes.
🌐
Reddit
reddit.com › r/powershell › function to convert ascii to a string
r/PowerShell on Reddit: Function to convert ASCII to a string
September 30, 2016 -

EDIT 2: See this comment for a more elegant solution using .NET.

EDIT: Sorry, I wasn't clear on what this actually does. It converts an array of character codes to ASCII text. Thanks u/ihaxr for pointing that out.

Because this was a source of some frustration to me today and I would like to save you all the trouble. Especially useful for converting values returned by System.DirectoryServices.

function Convert-ASCII {

param($ascii)

$letter = @()

foreach ($char in $ascii){

$char = [int[]]$char

$letter += [char[]]$char

}

$final = ("$letter").Replace(" ","")

Return $final

🌐
Code Beautify
codebeautify.org › ascii-to-text
ASCII to Text Converter / Translator
Copy, Paste and Convert. The ASCII standard is a character-encoding scheme that assigns an ascii code to every letter, digit, punctuation mark and symbol used in texts.
🌐
RapidTables
rapidtables.com › convert › number › hex-to-ascii.html
Hex to String | Hex to ASCII Converter
Enter hex code bytes with any prefix / postfix / delimiter and press the Convert button (e.g. 45 78 61 6d 70 6C 65 21): ... ASCII text encoding uses fixed 1 byte for each character. UTF-8 text encoding uses variable number of bytes for each character. This requires delimiter between each hex number.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-ways-to-convert-list-of-ascii-value-to-string
Ways to Convert List of ASCII Value to String - Python - GeeksforGeeks
July 12, 2025 - Explanation: [chr(val) for val in a] converts each ASCII value in a to a character and ''.join() combines them into a single string.
🌐
GeeksforGeeks
geeksforgeeks.org › dsa › convert-the-ascii-value-sentence-to-its-equivalent-string
Convert the ASCII value sentence to its equivalent string - GeeksforGeeks
July 11, 2025 - Given a string str which represents the ASCII (American Standard Code for Information Interchange) Sentence, the task is to convert this string into its equivalent character sequence.
🌐
TutorialsPoint
tutorialspoint.com › java-program-to-convert-ascii-code-to-string
Java Program to convert ASCII code to String
May 31, 2024 - Let’s say we have the following int value, which works as ASCII for us. ... Now, use the toString() method. String str = new Character((char) asciiVal).toString();
🌐
Duplichecker.com
duplichecker.com › ascii-to-text.php
ASCII to Text | Convert you ASCII code into Text
Pate the ASCII code in the left side box or upload a file with ASCII codes from your device. Click the “Convert” button to start the ASCII conversion.
🌐
Inductive Automation
forum.inductiveautomation.com › ignition
Convert Ascii value in tag to String - Ignition - Inductive Automation Forum
March 15, 2021 - Tag recieving data from input as Ascii (int value) but I want to convert Ascii to String to show as a character *for example right now tag value is 65 and I want to convert to “A” Thank you ,
🌐
CodeShack
codeshack.io › home › tools › ascii code to text converter
ASCII Code to Text Converter - Online Tool
Convert ASCII codes (Decimal, Hexadecimal, Binary, or Octal) back to plain text online. Free and easy to use for decoding character codes.
🌐
Arduino Forum
forum.arduino.cc › projects › programming
ASCII to string [SOLVED!!] - Programming - Arduino Forum
April 28, 2019 - Hello all, I need a conversion from ASCII numbers to the characters they represent, to put into a string. Unless I'm missing something, there are no keywords for this conversion? I'm pretty sad. If there is no other way, am I stuck making a huge code to do it for me? Sincerely, -Englishscone