<!--
{
  "documentType" : "article",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/string-transformations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "String Transformations"
}
-->

# String Transformations

These constants specify transforms used by the [`applyTransform(_:reverse:range:updatedRange:)`](/documentation/Foundation/NSMutableString/applyTransform(_:reverse:range:updatedRange:)) method.

## Topics

### Constants

[`NSStringTransformLatinToKatakana`](/documentation/Foundation/StringTransform/latinToKatakana)

A constant containing the transliteration of a string from Latin script to Katakana script.

[`NSStringTransformLatinToHiragana`](/documentation/Foundation/StringTransform/latinToHiragana)

A constant containing the transliteration of a string from Latin script to Hiragana script.

[`NSStringTransformLatinToHangul`](/documentation/Foundation/StringTransform/latinToHangul)

A constant containing the transliteration of a string from Latin script to Hangul script.

[`NSStringTransformLatinToArabic`](/documentation/Foundation/StringTransform/latinToArabic)

A constant containing the transliteration of a string from Latin script to Arabic script.

[`NSStringTransformLatinToHebrew`](/documentation/Foundation/StringTransform/latinToHebrew)

A constant containing the transliteration of a string from Latin script to Hebrew script.

[`NSStringTransformLatinToThai`](/documentation/Foundation/StringTransform/latinToThai)

A constant containing the transliteration of a string from Latin script to Thai script.

[`NSStringTransformLatinToCyrillic`](/documentation/Foundation/StringTransform/latinToCyrillic)

A constant containing the transliteration of a string from Latin script to Cyrillic script.

[`NSStringTransformToLatin`](/documentation/Foundation/StringTransform/toLatin)

A constant containing the transliteration of a string from any script to Latin script.

[`NSStringTransformMandarinToLatin`](/documentation/Foundation/StringTransform/mandarinToLatin)

A constant containing the transliteration of a string from Han script to Latin.

[`NSStringTransformHiraganaToKatakana`](/documentation/Foundation/StringTransform/hiraganaToKatakana)

A constant containing the transliteration of a string from Hiragana script to Katakana script.

[`NSStringTransformFullwidthToHalfwidth`](/documentation/Foundation/StringTransform/fullwidthToHalfwidth)

A constant containing the transformation of a string from full-width CJK characters to half-width forms.

[`NSStringTransformToXMLHex`](/documentation/Foundation/StringTransform/toXMLHex)

A constant containing the transformation of a string from characters to XML hexadecimal escape codes.

[`NSStringTransformToUnicodeName`](/documentation/Foundation/StringTransform/toUnicodeName)

An identifier for a transform that converts characters to Unicode names.

[`NSStringTransformStripCombiningMarks`](/documentation/Foundation/StringTransform/stripCombiningMarks)

A constant containing the transformation of a string by removing combining marks.

[`NSStringTransformStripDiacritics`](/documentation/Foundation/StringTransform/stripDiacritics)

A constant containing the transformation of a string by removing diacritics.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)