How to export bert tokenizer to onnx?

I was able to export the BERT model to ONNX but is there a way to tokenizer as well ? or what is the best way to get the tokens