byte[] data = Convert.FromBase64String(encodedString); string decodedString = Encoding.UTF8.GetString(data);