Image to Ascii Art by URL

Convert an image to ASCII art. You can pass the image URL as a query parameter. The API returns the ASCII art as plain text. This endpoint is using the GET method and an image URL as a query parameter.

GET
https://api.apileague.com/convert-image-to-ascii-txt
Example Request and Response
GET
https://api.apileague.com/{{ examples.getImageToAscii }}
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
..............................................,,,,,,,,...........................................
...........................................:+?%%%%%%%%*;,........................................
........................................,+%###S%????SS##S?;......................................
.......................................*S@#*;;:,,,,,::;+%##%;....................................
.....................................:%@S+:,............,;?##*,..................................
...................................,+##*,.................,;%#%:.................................
...................................*@S:.....................,*##;................................
..................................*#%:........................;#S;...............................
.................................*@%,..........................;#S:..............................
................................;#S:............................+@?,.............................
...............................,%#;..............................?#;.............................
...............................+#+...............................,SS,............................
..............................:S%,................................+@*............................
..............................+#+.................................,S#:...........................
.............................,?#:..................................*@*...........................
.............................,S?...................................,@%...........................
.............................:#+....................................%#,..........................
.............................;#;....................................+#:..........................
.............................*S,....................................:@+..........................
.............................?S,....................................:@*..........................
.............................*S,....................................:@+..........................
.............................?S,....................................:@*..........................
.............................*S,....................................:@+..........................
.............................:#;....................................*#:..........................
.............................:#*....................................SS,..........................
.............................,%%,..................................,@%...........................
..............................*#:..................................?@+...........................
..............................;#*.................................:##,...........................
..............................,%S,................................*@*............................
...............................;#*...............................:S%,............................
...............................,?#+.............................,%#:.............................
................................:##;............................*@*..............................
.................................+#S:..........................*#%,..............................
..................................;#S:.......................,*@%:...............................
...................................;SS+,....................:?#%:................................
....................................:%@S+.................,*##*,.................................
.....................................,+#@%;.............,*S@S;...................................
.......................................:?#@S?+;:,,,,:;*%#@S+,....................................
.........................................,+%#@@#####@@@#%;,......................................
............................................:+*?S#@S?*;,.........................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................:S@?,............................................
...............................................,?@@@+............................................
...............................................*#@@@S:...........................................
..............................................*@%%@@@?...........................................
.............................................+@S;?S%@#;..........................................
............................................+@#;,%S;%@S,.........................................
...........................................:##;.,%#::#@*.........................................
..........................................:##;..,%#:.*@#;........................................
.........................................;##;...,%#:.,%@S,.......................................
........................................:S#+....,%#:..:S@*.......................................
.......................................,%#*.....,%#:...+@#;......................................
......................................,%#*......,%#:...,%@S,.....................................
.....................................:%@+.......,%#:....:S@*.....................................
....................................,%@*........,%#:.....+@#;....................................
...................................,*@?,........,%#:.....,?@%,...................................
...................................*#?,.........,%#:......:%#+...................................
..................................*@?,..........,%#:.......;#S:..................................
................................,*@%,...........,%#:.......,*@?..................................
................................+@#;............,%#:........:S@+.................................
...............................;##;.............,%#:.........+#S:................................
..............................;S#;..............,%#:.........,?@*,...............................
.............................:S#;...............,%#:..........,%#;...............................
............................:#@*................,%#:...........:#%:..............................
...........................:#@*.................,%#:............*@*..............................
..........................,%@?..................,%#:............,SS:.............................
.........................,%@?...................,%#:.............;#?,............................
........................:%@?....................,%#:..............?@*............................
.......................:%@%,....................,%#:..............,##;...........................
......................,%@%,.....................,%#:...............;#S,..........................
......................*@S:......................,%#:................+@?..........................
....................,*@S:.......................,%#:.................?#;.........................
...................,*@S:........................,%#:.................:SS,........................
...................*@%:.........................,%#:..................+@?........................
..................+@%,..........................,%#:..................,%#;.......................
.................;#S:...........................,%#:...................:#S:......................
................:##;............................,%#:....................+@?,.....................
...............:S#;.............................,%#:....................,?#+.....................
..............;##;..............................,%#:.....................:SS:....................
.............:S#;...............................,%#:......................+#?,...................
............,%@+................................,%#:......................,?#+...................
...........,%@*.................................,%#:.......................:SS:..................
...........?@*..................................,%#:........................+#*..................
...........+*...................................,%#:........................,*;..................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................+#@+.............................................
...............................................;SS##;............................................
..............................................+#%;+#S;...........................................
.............................................+#S;..?@S:..........................................
............................................;#S;...,%@%,.........................................
..........................................,*#S:.....,%@?.........................................
.........................................,?@S:.......:S@*........................................
.........................................?@S:.........:S@+.......................................
........................................?@S:...........:##;......................................
.......................................?@S:.............+@#;.....................................
......................................?@S:...............+@S:....................................
....................................,?@S;.................*@%,...................................
...................................,*@S:...................*@*,..................................
..................................,?#%:....................,?#*..................................
.................................:%@?,......................,%#+.................................
................................:%@?,........................:S#;................................
...............................:%@?,..........................;##;...............................
..............................:%@?,............................+#S:..............................
.............................,%@?,..............................+#%..............................
............................,S@?,...............................,?@?.............................
...........................,S@%,.................................,%@;............................
..........................:S@*,...................................:S@;...........................
.........................;S#+......................................;S#:..........................
........................+#S;........................................:#S:.........................
.......................;##:..........................................;@%,........................
......................;##;............................................+@*........................
.....................;##:.............................................,%@*.......................
....................;##;...............................................,%#+......................
...................;#S;.................................................,S#;.....................
..................;S#;...................................................:#S:....................
.................+S#;.....................................................+#%:...................
...............,*#S;.......................................................+#?,..................
..............,*#%,.........................................................*#?,.................
.............,*@%,..........................................................,?@*.................
.............;@?,............................................................:%#:................
.............:*,..............................................................:+,................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
cURL
Java
Javascript
Python
Go
C#
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}

Image to Ascii Art by Image File

Convert an image to ASCII art. You can pass the image as body to the API. This endpoint is using the POST method and the actual image file as the body of the request.

Please make sure to set the 'Content-Type' header to either 'image/jpeg' or 'image/png' depending on the image type.

POST
https://api.apileague.com/convert-image-to-ascii-txt
Example Request and Response
POST
https://api.apileague.com/{{ examples.postImageToAscii }}
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
..............................................,,,,,,,,...........................................
...........................................:+?%%%%%%%%*;,........................................
........................................,+%###S%????SS##S?;......................................
.......................................*S@#*;;:,,,,,::;+%##%;....................................
.....................................:%@S+:,............,;?##*,..................................
...................................,+##*,.................,;%#%:.................................
...................................*@S:.....................,*##;................................
..................................*#%:........................;#S;...............................
.................................*@%,..........................;#S:..............................
................................;#S:............................+@?,.............................
...............................,%#;..............................?#;.............................
...............................+#+...............................,SS,............................
..............................:S%,................................+@*............................
..............................+#+.................................,S#:...........................
.............................,?#:..................................*@*...........................
.............................,S?...................................,@%...........................
.............................:#+....................................%#,..........................
.............................;#;....................................+#:..........................
.............................*S,....................................:@+..........................
.............................?S,....................................:@*..........................
.............................*S,....................................:@+..........................
.............................?S,....................................:@*..........................
.............................*S,....................................:@+..........................
.............................:#;....................................*#:..........................
.............................:#*....................................SS,..........................
.............................,%%,..................................,@%...........................
..............................*#:..................................?@+...........................
..............................;#*.................................:##,...........................
..............................,%S,................................*@*............................
...............................;#*...............................:S%,............................
...............................,?#+.............................,%#:.............................
................................:##;............................*@*..............................
.................................+#S:..........................*#%,..............................
..................................;#S:.......................,*@%:...............................
...................................;SS+,....................:?#%:................................
....................................:%@S+.................,*##*,.................................
.....................................,+#@%;.............,*S@S;...................................
.......................................:?#@S?+;:,,,,:;*%#@S+,....................................
.........................................,+%#@@#####@@@#%;,......................................
............................................:+*?S#@S?*;,.........................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................:S@?,............................................
...............................................,?@@@+............................................
...............................................*#@@@S:...........................................
..............................................*@%%@@@?...........................................
.............................................+@S;?S%@#;..........................................
............................................+@#;,%S;%@S,.........................................
...........................................:##;.,%#::#@*.........................................
..........................................:##;..,%#:.*@#;........................................
.........................................;##;...,%#:.,%@S,.......................................
........................................:S#+....,%#:..:S@*.......................................
.......................................,%#*.....,%#:...+@#;......................................
......................................,%#*......,%#:...,%@S,.....................................
.....................................:%@+.......,%#:....:S@*.....................................
....................................,%@*........,%#:.....+@#;....................................
...................................,*@?,........,%#:.....,?@%,...................................
...................................*#?,.........,%#:......:%#+...................................
..................................*@?,..........,%#:.......;#S:..................................
................................,*@%,...........,%#:.......,*@?..................................
................................+@#;............,%#:........:S@+.................................
...............................;##;.............,%#:.........+#S:................................
..............................;S#;..............,%#:.........,?@*,...............................
.............................:S#;...............,%#:..........,%#;...............................
............................:#@*................,%#:...........:#%:..............................
...........................:#@*.................,%#:............*@*..............................
..........................,%@?..................,%#:............,SS:.............................
.........................,%@?...................,%#:.............;#?,............................
........................:%@?....................,%#:..............?@*............................
.......................:%@%,....................,%#:..............,##;...........................
......................,%@%,.....................,%#:...............;#S,..........................
......................*@S:......................,%#:................+@?..........................
....................,*@S:.......................,%#:.................?#;.........................
...................,*@S:........................,%#:.................:SS,........................
...................*@%:.........................,%#:..................+@?........................
..................+@%,..........................,%#:..................,%#;.......................
.................;#S:...........................,%#:...................:#S:......................
................:##;............................,%#:....................+@?,.....................
...............:S#;.............................,%#:....................,?#+.....................
..............;##;..............................,%#:.....................:SS:....................
.............:S#;...............................,%#:......................+#?,...................
............,%@+................................,%#:......................,?#+...................
...........,%@*.................................,%#:.......................:SS:..................
...........?@*..................................,%#:........................+#*..................
...........+*...................................,%#:........................,*;..................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................,%#:.............................................
................................................+#@+.............................................
...............................................;SS##;............................................
..............................................+#%;+#S;...........................................
.............................................+#S;..?@S:..........................................
............................................;#S;...,%@%,.........................................
..........................................,*#S:.....,%@?.........................................
.........................................,?@S:.......:S@*........................................
.........................................?@S:.........:S@+.......................................
........................................?@S:...........:##;......................................
.......................................?@S:.............+@#;.....................................
......................................?@S:...............+@S:....................................
....................................,?@S;.................*@%,...................................
...................................,*@S:...................*@*,..................................
..................................,?#%:....................,?#*..................................
.................................:%@?,......................,%#+.................................
................................:%@?,........................:S#;................................
...............................:%@?,..........................;##;...............................
..............................:%@?,............................+#S:..............................
.............................,%@?,..............................+#%..............................
............................,S@?,...............................,?@?.............................
...........................,S@%,.................................,%@;............................
..........................:S@*,...................................:S@;...........................
.........................;S#+......................................;S#:..........................
........................+#S;........................................:#S:.........................
.......................;##:..........................................;@%,........................
......................;##;............................................+@*........................
.....................;##:.............................................,%@*.......................
....................;##;...............................................,%#+......................
...................;#S;.................................................,S#;.....................
..................;S#;...................................................:#S:....................
.................+S#;.....................................................+#%:...................
...............,*#S;.......................................................+#?,..................
..............,*#%,.........................................................*#?,.................
.............,*@%,..........................................................,?@*.................
.............;@?,............................................................:%#:................
.............:*,..............................................................:+,................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................
.................................................................................................